Skip to content

Commit f9192d3

Browse files
committed
Drop artifacts
1 parent a1fab6b commit f9192d3

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ jobs:
3030
- name: configure
3131
run: cmake -S. -Bbuild
3232
- name: build-${{ matrix.os.name }}
33-
run: cmake --build build 2>&1 | tee compilation.log
34-
- uses: actions/upload-artifact@v6
35-
with:
36-
name: compilation_${{ github.run_id }}_${{ job.check_run_id }}_log
37-
path: compilation*.log
38-
- run: ./build/hello_world
33+
run: cmake --build build
3934

4035
run-notifier:
4136
needs:

dist/index.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,19 @@ for (const job of jobList.jobs) {
4949

5050
const job_id = job.id;
5151

52+
console.log(`retreiving job log for ${job_id}`)
53+
5254
const { url: redirectUrl } = await octokit.rest.actions.downloadJobLogsForWorkflowRun({
5355
owner,
5456
repo,
5557
job_id,
5658
});
5759

5860
const response = await fetch(redirectUrl);
59-
if (!response.ok) console.log(`failed to retrieve job log for ${job_id}`);
61+
if (!response.ok) {
62+
console.log(`failed to retrieve job log for ${job_id}`);
63+
continue;
64+
}
6065
const jobLog = await response.text();
6166

6267
const warningRegex = /warning( .\d+)?:/;

0 commit comments

Comments
 (0)