Skip to content

Commit 9a086e3

Browse files
committed
testing win
1 parent f85abd7 commit 9a086e3

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

.github/workflows/release_and_pypi.yml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,72 @@ on:
77
- completed
88
push:
99
branches:
10-
- sep-workflows
10+
- sep-workflows # or whatever your default branch name is
1111
tags:
1212
- "v*"
1313

1414
jobs:
15+
debug_job:
16+
name: Debug Job
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Dump GitHub context
20+
env:
21+
GITHUB_CONTEXT: ${{ toJson(github) }}
22+
run: echo "$GITHUB_CONTEXT"
23+
- name: Dump job context
24+
env:
25+
JOB_CONTEXT: ${{ toJson(job) }}
26+
run: echo "$JOB_CONTEXT"
27+
- name: Dump steps context
28+
env:
29+
STEPS_CONTEXT: ${{ toJson(steps) }}
30+
run: echo "$STEPS_CONTEXT"
31+
- name: Dump runner context
32+
env:
33+
RUNNER_CONTEXT: ${{ toJson(runner) }}
34+
run: echo "$RUNNER_CONTEXT"
35+
- name: Dump strategy context
36+
env:
37+
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
38+
run: echo "$STRATEGY_CONTEXT"
39+
- name: Dump matrix context
40+
env:
41+
MATRIX_CONTEXT: ${{ toJson(matrix) }}
42+
run: echo "$MATRIX_CONTEXT"
43+
1544
release_and_publish:
1645
name: Release and Publish
46+
needs: debug_job
1747
runs-on: ubuntu-latest
18-
if: ${{ (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) }}
48+
if: always()
1949
steps:
2050
- name: Checkout code
2151
uses: actions/checkout@v3
2252

2353
- name: Download macOS artifacts
54+
continue-on-error: true
2455
uses: actions/download-artifact@v3
2556
with:
2657
name: wheels-macos-13
2758
path: dist/macos-13
2859

2960
- name: Download macOS artifacts
61+
continue-on-error: true
3062
uses: actions/download-artifact@v3
3163
with:
3264
name: wheels-macos-14
3365
path: dist/macos-14
3466

3567
- name: Download Linux artifacts
68+
continue-on-error: true
3669
uses: actions/download-artifact@v3
3770
with:
3871
name: wheels-linux
3972
path: dist/linux
4073

4174
- name: Download Windows artifacts
75+
continue-on-error: true
4276
uses: actions/download-artifact@v3
4377
with:
4478
name: wheels-windows-x64

0 commit comments

Comments
 (0)