mirror of
https://github.com/actions/toolkit.git
synced 2026-08-28 00:00:25 +02:00
E2E tests for the @actions/artifact package (#421)
* End-to-end artifact tests * E2E tests for artifact package
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// Certain env variables are not set by default in a shell context and are only available in a node context from a running action
|
||||
// In order to be able to upload and download artifacts e2e in a shell when running CI tests, we need these env variables set
|
||||
console.log(`::set-env name=ACTIONS_RUNTIME_URL::${process.env.ACTIONS_RUNTIME_URL}`)
|
||||
console.log(`::set-env name=ACTIONS_RUNTIME_TOKEN::${process.env.ACTIONS_RUNTIME_TOKEN}`)
|
||||
console.log(`::set-env name=GITHUB_RUN_ID::${process.env.GITHUB_RUN_ID}`)
|
||||
Reference in New Issue
Block a user