Skip to content

Commit fae028a

Browse files
committed
Add back release upload
1 parent 7c2d535 commit fae028a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,14 @@ jobs:
143143
with:
144144
name: ${{ steps.metadata.outputs.package_name}}-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
145145
path: ${{ steps.metadata.outputs.package_name}}-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
146+
147+
- uses: svenstaro/upload-release-action@v2
148+
name: Upload binaries to release
149+
if: ${{ github.event_name == 'push' }}
150+
with:
151+
repo_token: ${{ secrets.GITHUB_TOKEN }}
152+
file: ${{ steps.metadata.outputs.package_name}}-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
153+
asset_name: ${{ steps.metadata.outputs.package_name}}-${{ matrix.TARGET }}${{ matrix.EXTENSION }}
154+
tag: ${{ github.ref }}
155+
prerelease: ${{ !startsWith(github.ref, 'refs/tags/') }}
156+
overwrite: true

0 commit comments

Comments
 (0)