|
7 | 7 | - completed
|
8 | 8 | push:
|
9 | 9 | branches:
|
10 |
| - - sep-workflows |
| 10 | + - sep-workflows # or whatever your default branch name is |
11 | 11 | tags:
|
12 | 12 | - "v*"
|
13 | 13 |
|
14 | 14 | 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 | + |
15 | 44 | release_and_publish:
|
16 | 45 | name: Release and Publish
|
| 46 | + needs: debug_job |
17 | 47 | 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() |
19 | 49 | steps:
|
20 | 50 | - name: Checkout code
|
21 | 51 | uses: actions/checkout@v3
|
22 | 52 |
|
23 | 53 | - name: Download macOS artifacts
|
| 54 | + continue-on-error: true |
24 | 55 | uses: actions/download-artifact@v3
|
25 | 56 | with:
|
26 | 57 | name: wheels-macos-13
|
27 | 58 | path: dist/macos-13
|
28 | 59 |
|
29 | 60 | - name: Download macOS artifacts
|
| 61 | + continue-on-error: true |
30 | 62 | uses: actions/download-artifact@v3
|
31 | 63 | with:
|
32 | 64 | name: wheels-macos-14
|
33 | 65 | path: dist/macos-14
|
34 | 66 |
|
35 | 67 | - name: Download Linux artifacts
|
| 68 | + continue-on-error: true |
36 | 69 | uses: actions/download-artifact@v3
|
37 | 70 | with:
|
38 | 71 | name: wheels-linux
|
39 | 72 | path: dist/linux
|
40 | 73 |
|
41 | 74 | - name: Download Windows artifacts
|
| 75 | + continue-on-error: true |
42 | 76 | uses: actions/download-artifact@v3
|
43 | 77 | with:
|
44 | 78 | name: wheels-windows-x64
|
|
0 commit comments