Skip to content

Commit

Permalink
fix release action upload name
Browse files Browse the repository at this point in the history
  • Loading branch information
moremorefun committed Jun 27, 2020
1 parent 8dfade4 commit 1b3b86b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/gomysql2struct-darwin-amd64-${{ github.ref }}.tar.gz
asset_name: gomysql2struct-darwin-amd64-${{ github.ref }}.tar.gz
asset_path: ./bin/gomysql2struct-darwin-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: gomysql2struct-darwin-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/x-compressed-tar
- name: Upload Release Asset For Linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/gomysql2struct-linux-amd64-${{ github.ref }}.tar.gz
asset_name: gomysql2struct-linux-amd64-${{ github.ref }}.tar.gz
asset_path: ./bin/gomysql2struct-linux-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: gomysql2struct-linux-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/x-compressed-tar
- name: Upload Release Asset For Windows
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bin/gomysql2struct-windows-amd64-${{ github.ref }}.tar.gz
asset_name: gomysql2struct-windows-amd64-${{ github.ref }}.tar.gz
asset_path: ./bin/gomysql2struct-windows-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_name: gomysql2struct-windows-amd64-${{ steps.get_version.outputs.VERSION }}.tar.gz
asset_content_type: application/x-compressed-tar

0 comments on commit 1b3b86b

Please sign in to comment.