Skip to content

Commit

Permalink
chore: update to 4.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Sep 4, 2024
1 parent c117b86 commit 147c4bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/actions/download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 147c4bb

Please sign in to comment.