Difference between revisions of "Uses: actions/upload-artifact"

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

Advertising: