Browse Source

.github/workflows: update actions/upload-artifact to v4

v3 is deprecated: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Casey Labs 7 tháng trước cách đây
mục cha
commit
c87e622531

+ 1 - 1
.github/workflows/build-android.yml

@@ -164,7 +164,7 @@ jobs:
           mv android/app-signed.apk ./builds/Logseq-android-${{ steps.ref.outputs.version }}.apk
 
       - name: Upload Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: logseq-android-builds
           path: builds

+ 1 - 1
.github/workflows/build-ios-release.yml

@@ -80,7 +80,7 @@ jobs:
           MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
 
       - name: Save Static File
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: static
           path: static

+ 1 - 1
.github/workflows/build.yml

@@ -272,7 +272,7 @@ jobs:
 
       - name: Save test artifacts
         if: ${{ failure() }}
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: e2e-test-report
           path: e2e-dump/*

+ 2 - 2
.github/workflows/e2e.yml

@@ -89,7 +89,7 @@ jobs:
         run: tar czf static.tar.gz static
 
       - name: Upload Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: logseq-e2e-artifact
           path: static.tar.gz
@@ -158,7 +158,7 @@ jobs:
 
       - name: Save e2e artifacts
         if: ${{ failure() }}
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: e2e-repeat-report-${{ matrix.shard}}-${{ matrix.repeat }}
           path: e2e-dump/*