Skip to content

Commit 4a50827

Browse files
committed
release for linux mac
1 parent de7cc46 commit 4a50827

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/master.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ jobs:
8484
draft: false
8585
prerelease: false
8686
- name: Upload Release Asset
87+
if: matrix.platform != 'windows-latest'
8788
id: upload-release-asset
8889
uses: actions/upload-release-asset@v1
8990
env:
9091
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9192
with:
9293
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
93-
asset_path: ./my-artifact.zip
94-
asset_name: my-artifact.zip
95-
asset_content_type: application/zip
94+
asset_path: dist/go_get_dolar-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}
95+
asset_name: go_get_dolar-${{ matrix.platform }}_${{ needs.version.outputs.current-version }}
96+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)