Skip to content

Commit

Permalink
Trying to fix gh actions again
Browse files Browse the repository at this point in the history
  • Loading branch information
StaringLongingly committed Aug 24, 2024
1 parent 47e41ea commit f1e35ee
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/game_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ on:
jobs:
commit_log:
runs-on: ubuntu-latest
outputs:
commit_log: ${{ steps.changelog.outputs.commit_log }}
steps:
- name: 🛎 Checkout
uses: actions/checkout@v4
with:
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<<EOF" >> $GITHUB_ENV
echo "$changelog" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "::set-output name=commit_log::${changelog}"
web:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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!
Expand Down

0 comments on commit f1e35ee

Please sign in to comment.