浏览代码

Update actions/upload-artifact action to v4 (#4826)

renovate[bot] 8 月之前
父节点
当前提交
7ae222bf2f
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2 1
      .github/actions/gas-compare/action.yml
  2. 2 1
      .github/actions/storage-layout/action.yml

+ 2 - 1
.github/actions/gas-compare/action.yml

@@ -44,7 +44,8 @@ runs:
       shell: bash
     - name: Save report
       if: github.event_name != 'pull_request'
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
         name: gasreport
+        overwrite: true
         path: ${{ inputs.out_report }}

+ 2 - 1
.github/actions/storage-layout/action.yml

@@ -50,7 +50,8 @@ runs:
       shell: bash
     - name: Save artifacts
       if: github.event_name != 'pull_request'
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
         name: layout
+        overwrite: true
         path: ${{ inputs.out_layout }}