Skip to content

Commit

Permalink
Updated artifacts upload option for tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Oct 14, 2023
1 parent 0a4ebd0 commit b1f4773
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/checksum_builder-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ jobs:
path: |
checksum
checksum.sha256
- name: Upload Release Asset
id: upload-linux-binary
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
files: |
checksum
checksum.sha256
11 changes: 10 additions & 1 deletion .github/workflows/checksum_builder-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,20 @@ jobs:
touch file
echo 1 >> file
.\checksum.exe -s sha256 -f file
.\checksum.exe -s sha256 -f checksum.exe > checksum.sha256
.\checksum.exe -s sha256 -f checksum.exe > checksum-win.sha256
- name: Upload to checksum binary to github
uses: actions/upload-artifact@v3
with:
name: checksum_win
path: |
checksum.exe
checksum.sha256
- name: Upload Release Asset
id: upload-windows-binary
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
files: |
checksum.exe
checksum-win.sha256

0 comments on commit b1f4773

Please sign in to comment.