Skip to content

Commit 4bea3a6

Browse files
committed
Download and append to artifact
1 parent b6376b8 commit 4bea3a6

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/vartest.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@ jobs:
1515
test:
1616
runs-on: ubuntu-latest
1717
steps:
18+
- name: Download test artifact
19+
uses: action/download-artifact@v8
20+
with:
21+
name: my-artifact
22+
path: my_file.txt
23+
- name: Display structure of downloaded files
24+
run: ls -R
1825
- name: Create test file
19-
run: echo "Hello world" > my_file.txt
26+
run: echo "Hello world" >> my_file.txt
2027
- name: Upload test artifact
21-
uses: actions/upload-artifact@v4
28+
uses: actions/upload-artifact@v7
2229
with:
2330
name: my-artifact
2431
path: my_file.txt

0 commit comments

Comments
 (0)