Skip to content

Commit 2702f86

Browse files
committed
Merge branch 'master' into test
2 parents 5fceed6 + 6cc8520 commit 2702f86

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/tests_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030

3131
- name: Get original info
3232
run: |
33-
original_event=$(cat ./artifacts/event.txt)
34-
original_sha=$(cat ./artifacts/sha.txt)
33+
original_event=$(cat ./artifacts/parent-artifacts/event.txt)
34+
original_sha=$(cat ./artifacts/parent-artifacts/sha.txt)
3535
echo "original_event=$original_event" >> $GITHUB_ENV
3636
echo "original_sha=$original_sha" >> $GITHUB_ENV
3737
@@ -42,6 +42,6 @@ jobs:
4242
uses: EnricoMi/publish-unit-test-result-action@v2
4343
with:
4444
commit: ${{ env.original_sha }}
45-
event_file: ./artifacts/event_file/event.json
45+
event_file: ./artifacts/parent-artifacts/event_file/event.json
4646
event_name: ${{ env.original_event }}
4747
files: ./artifacts/**/*.xml

.github/workflows/wokwi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
core.debug(`repo: ${repo}`);
3434
core.debug(`sha: ${sha}`);
3535
const { context: name, state } = (await github.rest.repos.createCommitStatus({
36-
context: 'Runtime Tests / Wokwi (Get artifacts) (${{ github.event.workflow_run.event }} => workflow_run)',
36+
context: 'Runtime Tests / Wokwi (Get artifacts) (${{ github.event.workflow_run.event }} -> workflow_run)',
3737
owner: owner,
3838
repo: repo,
3939
sha: sha,
@@ -63,7 +63,7 @@ jobs:
6363
printf "Event name = "
6464
cat artifacts/event.txt
6565
printf "${{ github.event.workflow_run.head_sha || github.sha }}" >> artifacts/sha.txt
66-
printf "Head SHA = "
66+
printf "\nHead SHA = "
6767
cat artifacts/sha.txt
6868
6969
if [ -z "$ref" ] || [ "$ref" == "null" ]; then
@@ -112,7 +112,7 @@ jobs:
112112
core.debug(`repo: ${repo}`);
113113
core.debug(`sha: ${sha}`);
114114
const { context: name, state } = (await github.rest.repos.createCommitStatus({
115-
context: 'Runtime Tests / Wokwi (Get artifacts)',
115+
context: 'Runtime Tests / Wokwi (Get artifacts) (${{ github.event.workflow_run.event }} -> workflow_run)',
116116
owner: owner,
117117
repo: repo,
118118
sha: sha,
@@ -151,7 +151,7 @@ jobs:
151151
core.debug(`repo: ${repo}`);
152152
core.debug(`sha: ${sha}`);
153153
const { context: name, state } = (await github.rest.repos.createCommitStatus({
154-
context: 'Runtime Tests / Wokwi (${{ matrix.type }}, ${{ matrix.chip }}) (${{ github.event.workflow_run.event }} => workflow_run)',
154+
context: 'Runtime Tests / Wokwi (${{ matrix.type }}, ${{ matrix.chip }}) (${{ github.event.workflow_run.event }} -> workflow_run)',
155155
owner: owner,
156156
repo: repo,
157157
sha: sha,
@@ -256,7 +256,7 @@ jobs:
256256
core.debug(`repo: ${repo}`);
257257
core.debug(`sha: ${sha}`);
258258
const { context: name, state } = (await github.rest.repos.createCommitStatus({
259-
context: 'Runtime Tests / Wokwi (${{ matrix.type }}, ${{ matrix.chip }})',
259+
context: 'Runtime Tests / Wokwi (${{ matrix.type }}, ${{ matrix.chip }}) (${{ github.event.workflow_run.event }} -> workflow_run)',
260260
owner: owner,
261261
repo: repo,
262262
sha: sha,

0 commit comments

Comments
 (0)