Skip to content

Commit

Permalink
fix:action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
o-ga09 committed Jul 27, 2024
1 parent 162a10b commit 524d25c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
17 changes: 9 additions & 8 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: build
build:
@echo "Building..."
@go build -o build/main main.go

0 comments on commit 524d25c

Please sign in to comment.