Skip to content

Commit 652876b

Browse files
committed
action: upload artifact results/saludo.txt
1 parent e2fe50a commit 652876b

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/test1.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ jobs:
88
steps:
99
- name: hola mundo
1010
run: echo "Hola Mundo"
11+
12+
- name: create results directory
13+
run: mkdir results
1114

1215
- name: touch file
13-
run: touch saludo.txt
16+
run: touch results/saludo.txt
1417

1518
- name: set text
16-
run: echo "Hola Mundo" >> saludo.txt
19+
run: echo "Hola Mundo" >> results/saludo.txt
1720

18-
- name: read file
19-
run: cat saludo.txt
21+
- name: upload artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: test-file-upload
25+
path: results/saludo.txt

0 commit comments

Comments
 (0)