Skip to content

Commit

Permalink
Update Docker build-release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Djadih committed Nov 1, 2024
1 parent 1193b2e commit 114f9ac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ jobs:
- name: Append version number to binary
run: |
sudo mv output/quai-gpu-miner.tar.gz output/quai-gpu-miner-${{ github.event.inputs.tag_version }}.tar.gz
sudo mv output/quai-gpu-miner-amd.tar.gz output/quai-gpu-miner-amd-${{ github.event.inputs.tag_version }}.tar.gz
sudo mv output/quai-gpu-miner-nvidia.tar.gz output/quai-gpu-miner-nvidia-${{ github.event.inputs.tag_version }}.tar.gz
- name: Create and Push Signed Tag
env:
Expand All @@ -87,8 +88,11 @@ jobs:
git tag -s "${{ github.event.inputs.tag_version }}" -m "Release ${{ github.event.inputs.tag_version }}"
git push origin "${{ github.event.inputs.tag_version }}"
- name: Create GitHub Release and Upload Asset
- name: Create GitHub Release and Upload Assets
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ github.event.inputs.tag_version }} output/quai-gpu-miner output/quai-gpu-miner-${{ github.event.inputs.tag_version }}.tar.gz --title "${{ github.event.inputs.tag_version }}"
gh release create ${{ github.event.inputs.tag_version }} \
output/quai-gpu-miner-amd output/quai-gpu-miner-amd-${{ github.event.inputs.tag_version }}.tar.gz \
output/quai-gpu-miner-nvidia output/quai-gpu-miner-nvidia-${{ github.event.inputs.tag_version }}.tar.gz \
--title "${{ github.event.inputs.tag_version }}"

0 comments on commit 114f9ac

Please sign in to comment.