Skip to content

Commit

Permalink
Fix changelog download again
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Feb 21, 2024
1 parent 4832733 commit 68c39d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v4
with:
name: prepared_changelog.md
name: build-changelog
path: prepared_changelog.md
publish:
needs:
Expand All @@ -87,13 +87,13 @@ jobs:
- name: Download Changelog
uses: actions/download-artifact@v4
with:
path: .
pattern: prepared_changelog.md
path: build/changelog
pattern: build-changelog

- name: List build artifacts
run: ls -R build
- name: Show Changelog
run: cat prepared_changelog.md
run: cat build/changelog/prepared_changelog.md

- name: Get Version and Platform
id: properties
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
name: "AstralBot ${{ steps.properties.outputs.version }} Forge ${{ steps.properties.output.minecraftVersion }}"
version: ${{ steps.properties.outputs.version }}
version-type: release
changelog-file: prepared_changelog.md
changelog-file: build/changelog/prepared_changelog.md
loaders: forge
game-versions: ${{ steps.properties.outputs.minecraftVersion }}
version-resolver: exact
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
name: "AstralBot ${{ steps.properties.outputs.version }} Fabric ${{ steps.properties.output.minecraftVersion }}"
version: ${{ steps.properties.outputs.version }}
version-type: release
changelog-file: prepared_changelog.md
changelog-file: build/changelog/prepared_changelog.md
loaders: fabric
game-versions: ${{ steps.properties.outputs.minecraftVersion }}
version-resolver: exact
Expand Down

0 comments on commit 68c39d6

Please sign in to comment.