Skip to content

Commit

Permalink
fix bug: share files in different jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
zfb132 committed May 3, 2022
1 parent 7679d39 commit 71c836f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
with:
name: release
path: QrScan.zip
retention-days: 1


upload:
Expand All @@ -67,6 +68,4 @@ jobs:
- name: Upload Ubuntu Release
uses: softprops/action-gh-release@v1
with:
files: QrScan_linux_${{steps.prepare_release.outputs.tag_name}}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
files: QrScan_linux_${{steps.prepare_release.outputs.tag_name}}.zip
5 changes: 2 additions & 3 deletions .github/workflows/publish-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
with:
name: release
path: QrScan.zip
retention-days: 1

upload:
name: Upload Windows Release
Expand All @@ -63,6 +64,4 @@ jobs:
- name: Upload Windows Release
uses: softprops/action-gh-release@v1
with:
files: QrScan_windows_${{steps.prepare_release.outputs.tag_name}}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
files: QrScan_windows_${{steps.prepare_release.outputs.tag_name}}.zip

0 comments on commit 71c836f

Please sign in to comment.