uses: actions/upload-artifact

From wikieduonline
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]

Advertising: