Skip to content

Commit

Permalink
Update1 artifact.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavanrajshekar authored Aug 29, 2024
1 parent 072a0d6 commit 3e156b8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,23 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: hello-artifact
path: hello.txt
path: hello.txt

download:
runs-on: ubuntu-latest
needs: build

steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: hello-artifact

- name: Create artifacts directory
run: mkdir -p ./artifacts

- name: Move artifact
run: mv hello.txt ./artifacts/hello.txt

- name: Display file content
run: cat ./artifacts/hello.txt

0 comments on commit 3e156b8

Please sign in to comment.