Skip to content

Commit

Permalink
Update dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MiszczuZPolski committed Jan 30, 2025
1 parent 3a47f3d commit 462120d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,18 @@ jobs:

- name: Fetch merged PRs
run: |
git log --pretty=format:"%s by %an" -n ${{ needs.check.outputs.new-commits-number }} --no-merges > merged_prs.txt
cat merged_prs.txt
git log --pretty=format:"%s by %an" -n 20 --no-merges > merged_prs.txt
shell: bash
- name: Go through files
run: |
CHANGELOG=""
while IFS="" read -r p || [ -n "$p" ]
do
CHANGELOG+="$p\n"
done < merged_prs.txt
echo -E "$CHANGELOG<<EOF" >> $GITHUB_ENV
echo -E "$CHANGELOG" >> $GITHUB_ENV
echo -E "EOF" >> $GITHUB_ENV
shell: bash

- name: Install Arma 3 Tools
Expand All @@ -53,7 +63,7 @@ jobs:
with:
itemId: '2841189207'
contentPath: '.hemttout/@kat'
changelog: '$(cat merged_prs.txt)'
changelog: '${{env.CHANGELOG}}'
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}

0 comments on commit 462120d

Please sign in to comment.