From 147c4bbe7f389a11dae3fe937699f488230a854b Mon Sep 17 00:00:00 2001 From: SoonIter Date: Wed, 4 Sep 2024 11:25:08 +0800 Subject: [PATCH] chore: update to 4.1.7 --- .github/actions/download-artifact/action.yml | 12 ++++++------ .github/actions/upload-artifact/action.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml index 0335a0c5f99..df54721d0f6 100644 --- a/.github/actions/download-artifact/action.yml +++ b/.github/actions/download-artifact/action.yml @@ -4,18 +4,18 @@ description: Download file to local or artifact to quickly share files between j inputs: name: - description: 'Artifact name' - default: 'artifact' + description: "Artifact name" + default: "artifact" path: - description: 'Destination path' + description: "Destination path" required: true try-local-cache: - description: 'Try use local cache to save artifact' + description: "Try use local cache to save artifact" default: false required: false type: boolean link-when-local: - description: 'Link file instead of copy file' + description: "Link file instead of copy file" default: false type: boolean required: false @@ -24,7 +24,7 @@ runs: using: composite steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.7 if: ${{ startsWith(runner.name, 'GitHub Actions') || inputs.try-local-cache == 'false' }} with: name: ${{ inputs.name }} diff --git a/.github/actions/upload-artifact/action.yml b/.github/actions/upload-artifact/action.yml index b4c15e09dfa..b5d04638bfe 100644 --- a/.github/actions/upload-artifact/action.yml +++ b/.github/actions/upload-artifact/action.yml @@ -4,18 +4,18 @@ description: Upload file to local or artifact to quickly share files between job inputs: name: - description: 'Artifact name' - default: 'artifact' + description: "Artifact name" + default: "artifact" path: - description: 'A file, directory or wildcard pattern that describes what to upload' + description: "A file, directory or wildcard pattern that describes what to upload" required: true try-local-cache: - description: 'Try use local cache to save artifact' + description: "Try use local cache to save artifact" default: false required: false type: boolean mv-when-local: - description: 'Move file instead of copy file' + description: "Move file instead of copy file" default: false type: boolean required: false @@ -29,7 +29,7 @@ runs: using: composite steps: - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.1.7 if: ${{ startsWith(runner.name, 'GitHub Actions') || inputs.try-local-cache == 'false' }} with: name: ${{ inputs.name }}