Update GitHub Actions

This commit is contained in:
scribam 2024-05-31 09:52:03 +02:00 committed by Christophe
parent 45008b225e
commit 33b4a621a6

View File

@ -15,7 +15,7 @@ jobs:
run: sudo apt-get update -y && sudo apt-get install -y zip p7zip
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
@ -29,13 +29,13 @@ jobs:
- name: Create 7z archive
run: 7z a glm-${{ env.RELEASE_VERSION }}.7z .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: glm-${{ env.RELEASE_VERSION }}
path: glm-${{ env.RELEASE_VERSION }}.*
- name: Add to Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
glm-${{ env.RELEASE_VERSION }}.zip