Skip to content

Commit

Permalink
fix: Fix GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Jul 6, 2024
1 parent fb934c7 commit 200ecdf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/github-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,6 @@ jobs:
printf "\n\n............\n\nRelease notes truncated. For more details, see the [CHANGELOG](https://github.com/Griefed/ServerPackCreator/blob/${{ needs.preparations.outputs.version }}/CHANGELOG.md).\n\n" >> description.txt
fi
- name: Append Release Info
uses: DamianReeves/write-file-action@v1.2
with:
path: description.txt
write-mode: append
contents: |
${{ steps.preinfo.outputs.content }}
${{ steps.info.outputs.content }}
- uses: actions/download-artifact@v4
with:
name: jar-media-release
Expand All @@ -171,12 +162,22 @@ jobs:
serverpackcreator-app/build/libs/ServerPackCreator-${{ needs.preparations.outputs.version }}.jar
serverpackcreator-plugin-example/build/libs/ServerPackCreator-${{ needs.preparations.outputs.version }}-Example-Plugin.jar
- name: Append Checksums
id: info
- name: Read Checksums
id: readchecksums
uses: jaywcjlove/github-action-read-file@v1.2.2
with:
path: checksum.txt

- name: Append Checksums Info
uses: DamianReeves/write-file-action@v1.2
with:
path: description.txt
write-mode: append
contents: |
${{ steps.preinfo.outputs.content }}
${{ steps.info.outputs.content }}
${{ steps.readchecksums.outputs.content }}
# GENERATE RELEASE
- name: Create Release
id: create_release
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,6 @@ jobs:
printf "\n\n............\n\nRelease notes truncated. For more details, see the [CHANGELOG](https://github.com/Griefed/ServerPackCreator/blob/${{ needs.preparations.outputs.version }}/CHANGELOG.md).\n\n" >> description.txt
fi
- name: Append Release Info
uses: DamianReeves/write-file-action@v1.2
with:
path: description.txt
write-mode: append
contents: |
${{ steps.info.outputs.content }}
- uses: actions/download-artifact@v4
with:
name: jar-media-release
Expand All @@ -162,12 +154,22 @@ jobs:
serverpackcreator-app/build/libs/ServerPackCreator-${{ needs.preparations.outputs.version }}.jar
serverpackcreator-plugin-example/build/libs/ServerPackCreator-${{ needs.preparations.outputs.version }}-Example-Plugin.jar
- name: Append Checksums
id: info
- name: Read Checksums
id: readchecksums
uses: jaywcjlove/github-action-read-file@v1.2.2
with:
path: checksum.txt

- name: Append Checksums Info
uses: DamianReeves/write-file-action@v1.2
with:
path: description.txt
write-mode: append
contents: |
${{ steps.preinfo.outputs.content }}
${{ steps.info.outputs.content }}
${{ steps.readchecksums.outputs.content }}
# GENERATE RELEASE
- name: Create Release
id: create_release
Expand Down

0 comments on commit 200ecdf

Please sign in to comment.