diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6ee7a06e..ce0f4a33 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 @@ -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'