Skip to content

Commit

Permalink
Added: upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Dec 25, 2021
1 parent 571f039 commit 871b84b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@ jobs:
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
- name: Create release archive
run: mkdir dist/ && cd src/ && tar czvf "../dist/release-${GITHUB_REF_NAME}.tar.gz" .

- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: dist
path: |
dist
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/release-${GITHUB_REF_NAME}.tar.gz"
Expand Down

0 comments on commit 871b84b

Please sign in to comment.