From 524d25c5baf95b396e543708b6df024e9ebcc87d Mon Sep 17 00:00:00 2001 From: taiti09 Date: Sat, 27 Jul 2024 15:45:30 +0900 Subject: [PATCH] fix:action.yml --- action.yaml | 17 +++++++++-------- makefile | 4 ++++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/action.yaml b/action.yaml index 8fd0e36..063d1ee 100644 --- a/action.yaml +++ b/action.yaml @@ -33,11 +33,12 @@ runs: - run: git push --follow-tags shell: bash - - - use: GitHubRelease@0 - with: - gitHubConnection: ${{ inputs.github-pat}} - tag: ${{ inputs.release-version }} - title: "じぶんリリースノート $(date "+%Y/%m")" - releaseNotesSource: file - releaseNotesFile: "/tmp/releasenote.md" + + - run: | + gh release create ${{ inputs.release-version }} \ + --title "じぶんリリースノート $(date "+%Y/%m")" \ + --notes-file /tmp/releasenote.md \ + --tag ${{ inputs.release-version }} + shell: bash + env: + GITHUB_TOKEN: ${{ inputs.github-pat }} diff --git a/makefile b/makefile index e69de29..dd20879 100644 --- a/makefile +++ b/makefile @@ -0,0 +1,4 @@ +.PHONY: build +build: + @echo "Building..." + @go build -o build/main main.go