Use @actions/core.exportVariable instead of set-env (#19)

* fix: use @actions/core.exportVariable instead of set-env

`set-env` is now deprecated. `@actions/core` exposes `exportVariable`
to be used instead.

https://github.com/actions/toolkit/tree/main/packages/core#exporting-variables

* chore: bump @actions/core to v1.2.6
This commit is contained in:
Stig Otnes Kolstad
2020-10-20 08:51:52 +02:00
committed by GitHub
parent 3aa19be838
commit 2f6bfda1e2
19 changed files with 445 additions and 226 deletions

5
node_modules/@actions/core/lib/utils.d.ts generated vendored Normal file
View File

@ -0,0 +1,5 @@
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
export declare function toCommandValue(input: any): string;