From f1e35eefbc003b32b1ba9f434e904d654520e71a Mon Sep 17 00:00:00 2001 From: StaringLongingly <74494805+StaringLongingly@users.noreply.github.com> Date: Sat, 24 Aug 2024 04:20:54 +0300 Subject: [PATCH] Trying to fix gh actions again --- .github/workflows/game_ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/game_ci.yml b/.github/workflows/game_ci.yml index 6a5df6a..2d1b8bb 100644 --- a/.github/workflows/game_ci.yml +++ b/.github/workflows/game_ci.yml @@ -13,6 +13,8 @@ on: jobs: commit_log: runs-on: ubuntu-latest + outputs: + commit_log: ${{ steps.changelog.outputs.commit_log }} steps: - name: 🛎 Checkout uses: actions/checkout@v4 @@ -20,14 +22,12 @@ jobs: fetch-depth: 0 - name: 📋 Get Changes between Tags - id: changes + id: changelog run: | git fetch --tags latest_tag=$(git describe --tags --abbrev=0) changelog=$(git log $latest_tag..HEAD --oneline) - echo "commit_log<> $GITHUB_ENV - echo "$changelog" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV + echo "::set-output name=commit_log::${changelog}" web: runs-on: ubuntu-latest @@ -182,13 +182,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{env.GitVersion_MajorMinorPatch}} - release_name: "Version ${{env.GitVersion_MajorMinorPatch}}" + tag_name: ${{ env.GitVersion_MajorMinorPatch }} + release_name: "Version ${{ env.GitVersion_MajorMinorPatch }}" body: | - ## Release Notes for Version ${{env.GitVersion_MajorMinorPatch}} + ## Release Notes for Version ${{ env.GitVersion_MajorMinorPatch }} ### Commits: - ${{ env.commit_log }} + ${{ needs.commit_log.outputs.commit_log }} ### Additional Information: As always thanks for playing!