Skip to content

Commit

Permalink
GitHub CLIを使ってリリース作成 (#10)
Browse files Browse the repository at this point in the history
change: use github cli
  • Loading branch information
Kensuke Yanai authored Jun 19, 2023
1 parent 46a5673 commit 7342933
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,22 @@ jobs:
run: (cd ui/dist && tar -zcvf ../front.tar.gz .)

- name: Create release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
draft: false
prerelease: false
files: |
api/app_windows_amd64.exe
api/app_windows_arm.exe
api/app_darwin_amd64
api/app_darwin_arm64
api/app_linux_amd64
api/app_linux_arm64
ui/front.tar.gz
run: gh release create ${{ github.ref_name}} --generate-notes "api/app_windows_amd64.exe" "api/app_windows_arm.exe" "api/app_darwin_amd64" "api/app_darwin_arm64" "api/app_linux_amd64" "api/app_linux_arm64" "ui/front.tar.gz"
env:
GITHUB_TOKEN: ${{ github.token }}


# - name: Create release
# uses: softprops/action-gh-release@v1
# with:
# generate_release_notes: true
# draft: false
# prerelease: false
# files: |
# api/app_windows_amd64.exe
# api/app_windows_arm.exe
# api/app_darwin_amd64
# api/app_darwin_arm64
# api/app_linux_amd64
# api/app_linux_arm64
# ui/front.tar.gz

0 comments on commit 7342933

Please sign in to comment.