From 68c39d6e1432b909e1a47c2340cc4ec84ed5f7f7 Mon Sep 17 00:00:00 2001 From: Erdragh Date: Wed, 21 Feb 2024 17:01:23 +0100 Subject: [PATCH] Fix changelog download again --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e9bb8c..712a1a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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 @@ -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 @@ -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