浏览代码

Update GitHub Actions

scribam 1 年之前
父节点
当前提交
33b4a621a6
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .github/workflows/make_light_release.yml

+ 3 - 3
.github/workflows/make_light_release.yml

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