Skip to content

Commit

Permalink
fix: handling of tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
demeyerthom committed Nov 14, 2023
1 parent 80a5ded commit 1ba0bb3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ jobs:
- name: Save ChangeLog to file
id: save_changes
run: |
echo "changesfile=$(mktemp)" >> $GITHUB_OUTPUT
echo "${{ steps.changelog.outputs.output }}" > ${{ steps.save_changes.outputs.changesfile }}
tmpfile=$(mktemp)
echo "${{ steps.changelog.outputs.output }}" > $tmpfile
echo "changelog_file=$tmpfile" >> $GITHUB_OUTPUT
shell: bash

- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --clean --skip=validate --release-notes ${{ steps.save_changes.outputs.changesfile }}
args: release --clean --skip=validate --release-notes ${{ steps.save_changes.outputs.changelog_file }}
env:
GORELEASER_CURRENT_TAG: ${{ steps.next-tag.outputs.output }}
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.app-token }}
Expand Down

0 comments on commit 1ba0bb3

Please sign in to comment.