Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Matts966 committed Jun 5, 2020
1 parent 961d8d0 commit bd2f3f7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ jobs:
env:
TAG: ${{ steps.tag.outputs.tag }}
run: |
zip bin/zetasql-formatter_${TAG}_linux_x86_64.zip bin/linux/zetasql-formatter
zip bin/zetasql-formatter_${TAG}_darwin_amd64.zip bin/osx/zetasql-formatter
mv bin/linux/zetasql-formatter zetasql-formatter
zip zetasql-formatter_${TAG}_linux_x86_64.zip zetasql-formatter
mv bin/osx/zetasql-formatter zetasql-formatter
zip zetasql-formatter_${TAG}_darwin_amd64.zip zetasql-formatter
- name: Upload Linux Asset
id: upload-linux-asset
Expand All @@ -43,8 +45,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
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
asset_path: ./bin/zetasql-formatter_${{ steps.tag.outputs.tag }}_linux_x86_64.tar.gz
asset_name: alphasql_${{ steps.tag.outputs.tag }}_linux_x86_64.tar.gz
asset_path: zetasql-formatter_${{ steps.tag.outputs.tag }}_linux_x86_64.zip
asset_name: alphasql_${{ steps.tag.outputs.tag }}_linux_x86_64.zip
asset_content_type: application/zip

- name: Upload OSX Asset
Expand All @@ -54,6 +56,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
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
asset_path: ./bin/zetasql-formatter_${{ steps.tag.outputs.tag }}_darwin_amd64.tar.gz
asset_name: alphasql_${{ steps.tag.outputs.tag }}_darwin_amd64.tar.gz
asset_path: zetasql-formatter_${{ steps.tag.outputs.tag }}_darwin_amd64.zip
asset_name: alphasql_${{ steps.tag.outputs.tag }}_darwin_amd64.zip
asset_content_type: application/tar+gzip

0 comments on commit bd2f3f7

Please sign in to comment.