mirror of https://github.com/actions/toolkit
parent
4a1742d242
commit
e1ffeb8e81
|
@ -62,7 +62,7 @@ jobs:
|
|||
# We're using node -e to call the functions directly available in the @actions/artifact package
|
||||
- name: Upload artifacts using uploadArtifact()
|
||||
run: |
|
||||
node -e "Promise.resolve(require('./packages/artifact/lib/artifact-client').create().uploadArtifact('my-artifact-1',['artifact-path/world.txt'], `${{ github.workspace }}`))"
|
||||
node -e 'Promise.resolve(require("./packages/artifact/lib/artifact-client").create().uploadArtifact("my-artifact-1",["artifact-path/world.txt"], "${{ github.workspace }}"))'
|
||||
node -e "Promise.resolve(require('./packages/artifact/lib/artifact-client').create().uploadArtifact('my-artifact-2',['artifact-path/gzip.txt'], `${{ github.workspace }}`))"
|
||||
node -e "Promise.resolve(require('./packages/artifact/lib/artifact-client').create().uploadArtifact('my-artifact-3',['artifact-path/empty.txt'], `${{ github.workspace }}`))"
|
||||
|
||||
|
|
Loading…
Reference in New Issue