uses: actions/upload-artifact

From wikieduonline
Revision as of 11:49, 23 August 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

See also

Advertising: