Skip to content

Commit

Permalink
Bump CI actions (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timi007 authored Sep 14, 2024
1 parent 6c89bd3 commit 76e18a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 76e18a8

Please sign in to comment.