Skip to content

Commit 47e41ea

Browse files
Trying to fix gh actions again
1 parent a5f091f commit 47e41ea

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

..HEAD

Whitespace-only changes.

.github/workflows/game_ci.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ jobs:
1717
- name: 🛎 Checkout
1818
uses: actions/checkout@v4
1919
with:
20-
# you need full history to collect changes correctly
2120
fetch-depth: 0
2221

2322
- name: 📋 Get Changes between Tags
2423
id: changes
25-
uses: simbo/changes-between-tags-action@v1
24+
run: |
25+
git fetch --tags
26+
latest_tag=$(git describe --tags --abbrev=0)
27+
changelog=$(git log $latest_tag..HEAD --oneline)
28+
echo "commit_log<<EOF" >> $GITHUB_ENV
29+
echo "$changelog" >> $GITHUB_ENV
30+
echo "EOF" >> $GITHUB_ENV
2631
2732
web:
2833
runs-on: ubuntu-latest
@@ -183,7 +188,7 @@ jobs:
183188
## Release Notes for Version ${{env.GitVersion_MajorMinorPatch}}
184189
185190
### Commits:
186-
${{ needs.commit_log.outputs.commit_log }}
191+
${{ env.commit_log }}
187192
188193
### Additional Information:
189194
As always thanks for playing!

0 commit comments

Comments
 (0)