Skip to content

Commit

Permalink
Updated to upload release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
kvg committed Oct 15, 2024
1 parent a906b0c commit 59e29dd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
sccache --show-stats
- name: Upload binary as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: hidive-${{ steps.version-bump.outputs.new_ver }}
path: target/release/hidive
Expand All @@ -63,6 +63,16 @@ jobs:
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/release/hidive
asset_name: hidive-${{ steps.version-bump.outputs.new_ver }}
asset_content_type: application/octet-stream

# - name: Authenticate to Google Cloud
# id: 'auth'
# uses: 'google-github-actions/auth@v1'
Expand Down

0 comments on commit 59e29dd

Please sign in to comment.