From 0c401f39a99e9973396eec3f4029a27b525f4cf9 Mon Sep 17 00:00:00 2001 From: Marco Calautti Date: Wed, 27 Dec 2023 22:39:46 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f73192..f090018 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,14 +26,16 @@ jobs: - if: contains(github.ref, 'refs/tags/') name: Get Tag Message - run: echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> release_notes.txt + run: | + cd ${{github.workspace}} + echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> "${{github.workspace}}/release_notes.txt" - if: contains(github.ref, 'refs/tags/') name: Prepare Release uses: softprops/action-gh-release@v1 with: name: Delta Patcher ${{ github.ref_name }} - body_path: release_notes.txt + body_path: ${{github.workspace}}/release_notes.txt draft: false prerelease: false generate_release_notes: false