Skip to content

Commit

Permalink
Remove spaces from job name
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed May 16, 2024
1 parent 9a7ca86 commit 05306cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180829,7 +180829,7 @@ function prepareNPMArtifacts() {
let tarFile = `npm-tarball.tgz`;
yield compress("_release", tarFile);
const context = github.context;
const { id, size } = yield artifact.uploadArtifact(`npm-${context.job}`, [tarFile], process.env.GITHUB_WORKSPACE, {
const { id, size } = yield artifact.uploadArtifact(`npm-${context.job.replace(" ", "_")}`, [tarFile], process.env.GITHUB_WORKSPACE, {
// The level of compression for Zlib to be applied to the artifact archive.
// - 0: No compression
// - 1: Best speed
Expand Down
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async function prepareNPMArtifacts() {

const context = github.context;
const { id, size } = await artifact.uploadArtifact(
`npm-${context.job}`,
`npm-${context.job.replace(" ", "_")}`,
[tarFile],
process.env.GITHUB_WORKSPACE!,
{
Expand Down

0 comments on commit 05306cc

Please sign in to comment.