mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 12:47:28 +00:00
feat: implement (optional) semver parsing of version (#213)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import tmp = require('tmp');
|
||||
|
||||
tmp.setGracefulCleanup();
|
||||
const tmpdir = tmp.dirSync({template: 'goreleaser-XXXXXX'});
|
||||
process.env = Object.assign(process.env, {
|
||||
RUNNER_TEMP: tmpdir.name,
|
||||
RUNNER_TOOL_CACHE: tmpdir.name,
|
||||
GITHUB_ACTION: '1'
|
||||
});
|
||||
Reference in New Issue
Block a user