We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 813cb7b commit a9e1278Copy full SHA for a9e1278
.github/workflows/darwin-amd64.yml
@@ -39,15 +39,14 @@ jobs:
39
release_name: Release ${{ github.ref }}
40
draft: false
41
prerelease: false
42
-
43
- - name: Upload Release Asset
+
+ - name: Upload mac binary to release
44
if: always()
45
- id: upload-release-asset
46
- uses: actions/upload-release-asset@v1
47
- env:
48
- GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
+ uses: svenstaro/upload-release-action@v2
49
with:
50
- upload_url: ${{ steps.create_release.outputs.upload_url }}
51
- asset_path: ./batbelt/batbelt-darwin-amd64.tar
+ repo_token: ${{ secrets.GIT_TOKEN }}
+ file: ./batbelt/batbelt-darwin-amd64.tar
52
asset_name: batbelt-darwin-amd64.tar
53
- asset_content_type: application/x-tar
+ tag: ${{ github.ref }}
+ overwrite: true
0 commit comments