Difference between revisions of "Uses: actions/upload-artifact"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
* [[scp]] | * [[scp]] | ||
* [[GitLab CI: artifacts:]] | * [[GitLab CI: artifacts:]] | ||
+ | * <code>[[notify:]]</code> | ||
== See also == | == See also == |
Latest revision as of 11:49, 23 August 2024
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: