uses: actions/upload-artifact
(Redirected from Uses: actions/upload-artifact@v2)
Jump to navigation
Jump to search
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v2
Upload a file:
- uses: actions/upload-artifact@v2 with: name: my-artifact path: path/to/artifact/world.txt
Upload a directory:
- uses: actions/upload-artifact@v2 with: name: my-second-artifact path: path/to/artifact/ # or path/to/artifact
Upload a file with a retention time:
- uses: actions/upload-artifact@v2 with: name: my-artifact path: path/to/artifact/world.txt retention-days: 5 days
if-no-files-found
Related[edit]
See also[edit]
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: