From 76e18a81b523869299d4db0a7c6a1539cf7a746d Mon Sep 17 00:00:00 2001 From: Timi007 Date: Sun, 15 Sep 2024 00:10:21 +0200 Subject: [PATCH] Bump CI actions (#20) --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b798cc..1e57efb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,11 +60,13 @@ jobs: run: mv .hemttout/release .hemttout/@${{ env.MOD_NAME }} - name: Upload Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.MOD_NAME }} path: .hemttout/@* retention-days: 1 + include-hidden-files: true # Because .hemttout is a hidden directory + if-no-files-found: error publish-release: @@ -73,7 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Prepare Archives run: | @@ -84,7 +86,7 @@ jobs: - name: Prepare GitHub Release id: release_drafter - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@v6 with: name: Version ${{ needs.build.outputs.VERSION_SHORT }} tag: v${{ needs.build.outputs.VERSION }} @@ -93,7 +95,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload mod archive to GitHub Release - uses: shogo82148/actions-upload-release-asset@v1.7.2 + uses: shogo82148/actions-upload-release-asset@v1.7.7 with: upload_url: ${{ steps.release_drafter.outputs.upload_url }} asset_path: ./${{ needs.build.outputs.MOD_NAME }}_${{ needs.build.outputs.VERSION_SHORT }}.zip