Skip to content

Commit 95815c3

Browse files
authored
Merge pull request #391 from GhadimiR/main
Fix bug introduced in 4.2.0
2 parents 76a6eb5 + 278fca4 commit 95815c3

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
- name: Format
4141
run: npm run format-check
4242

43+
- name: Run Unit Tests
44+
run: npm test
45+
4346
- name: Create artifacts
4447
run: |
4548
mkdir -p path/to/artifact-A

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118857,10 +118857,10 @@ function run() {
118857118857
core.warning(`Artifact '${artifactName}' digest validation failed. Please verify the integrity of the artifact.`);
118858118858
}
118859118859
}
118860-
core.info(`Total of ${artifacts.length} artifact(s) downloaded`);
118861-
core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath);
118862-
core.info('Download artifact has finished successfully');
118863118860
}
118861+
core.info(`Total of ${artifacts.length} artifact(s) downloaded`);
118862+
core.setOutput(constants_1.Outputs.DownloadPath, resolvedPath);
118863+
core.info('Download artifact has finished successfully');
118864118864
});
118865118865
}
118866118866
exports.run = run;

src/download-artifact.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ export async function run(): Promise<void> {
138138
)
139139
}
140140
}
141-
core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
142-
core.setOutput(Outputs.DownloadPath, resolvedPath)
143-
core.info('Download artifact has finished successfully')
144141
}
142+
core.info(`Total of ${artifacts.length} artifact(s) downloaded`)
143+
core.setOutput(Outputs.DownloadPath, resolvedPath)
144+
core.info('Download artifact has finished successfully')
145145
}
146146

147147
run().catch(err =>

0 commit comments

Comments
 (0)