Skip to content

Commit 05306cc

Browse files
committed
Remove spaces from job name
1 parent 9a7ca86 commit 05306cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180829,7 +180829,7 @@ function prepareNPMArtifacts() {
180829180829
let tarFile = `npm-tarball.tgz`;
180830180830
yield compress("_release", tarFile);
180831180831
const context = github.context;
180832-
const { id, size } = yield artifact.uploadArtifact(`npm-${context.job}`, [tarFile], process.env.GITHUB_WORKSPACE, {
180832+
const { id, size } = yield artifact.uploadArtifact(`npm-${context.job.replace(" ", "_")}`, [tarFile], process.env.GITHUB_WORKSPACE, {
180833180833
// The level of compression for Zlib to be applied to the artifact archive.
180834180834
// - 0: No compression
180835180835
// - 1: Best speed

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function prepareNPMArtifacts() {
125125

126126
const context = github.context;
127127
const { id, size } = await artifact.uploadArtifact(
128-
`npm-${context.job}`,
128+
`npm-${context.job.replace(" ", "_")}`,
129129
[tarFile],
130130
process.env.GITHUB_WORKSPACE!,
131131
{

0 commit comments

Comments
 (0)