Skip to content

Commit

Permalink
Merge pull request #16 from fukata/fix/11-assets-content-type
Browse files Browse the repository at this point in the history
リリースされた時に各プラットフォーム別の実行ファイルをリリースにアップロード出来ていなかったバグを修正
  • Loading branch information
fukata authored Apr 3, 2022
2 parents 22386b1 + 8d75ee0 commit 2ad52c8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- 'v*'
release:
types:
- published

jobs:
release:
Expand Down Expand Up @@ -30,6 +30,7 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ghoto-linux-amd64
asset_name: ghoto-linux-amd64
asset_content_type: application/octet-stream
- name: Upload assets ghoto-darwin-amd64
uses: actions/upload-release-asset@v1
env:
Expand All @@ -38,11 +39,13 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ghoto-darwin-amd64
asset_name: ghoto-darwin-amd64
asset_content_type: application/octet-stream
- name: Upload assets ghoto-windows-amd64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ghoto-windows-amd64.exe
asset_name: ghoto-windows-amd64.exe
asset_name: ghoto-windows-amd64.exe
asset_content_type: application/octet-stream

0 comments on commit 2ad52c8

Please sign in to comment.