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 bfff550 commit 3920f92
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ jobs:

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

- name: Install Arma 3 Tools
Expand All @@ -60,7 +52,7 @@ jobs:
with:
itemId: '2841189207'
contentPath: '.hemttout/@kat'
changelog: '${{env.CHANGELOG}}'
changelog: merge_prs.txt
env:
STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }}

0 comments on commit 3920f92

Please sign in to comment.