Skip to content

Commit 08f295f

Browse files
committed
Fix GoReleaser release notes location
1 parent 1726b5a commit 08f295f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,14 @@ jobs:
1919
- uses: actions/setup-go@v4
2020
with:
2121
go-version: stable
22-
# More assembly might be required: Docker logins, GPG, etc. It all depends
23-
# on your needs.
24-
# ${{ github.ref_name }} or $GITHUB_REF_NAME or ${{env.GITHUB_REF_NAME}} currently.
2522
- name: Generate release notes
2623
continue-on-error: true
27-
run: ./scripts/release-notes.sh ${{github.ref_name}} > ./release_notes.txt
24+
run: ./scripts/release-notes.sh ${{github.ref_name}} > ${{runner.temp}}/release_notes.txt
2825
- name: Run GoReleaser
2926
uses: goreleaser/goreleaser-action@v4
3027
with:
31-
# either 'goreleaser' (default) or 'goreleaser-pro':
3228
distribution: goreleaser
3329
version: latest
34-
args: release --clean --release-notes=./release_notes.txt
30+
args: release --clean --release-notes=${{runner.temp}}/release_notes.txt
3531
env:
3632
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
38-
# distribution:
39-
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 commit comments

Comments
 (0)