Skip to content

Commit

Permalink
Fix: Resequence operations for signing and uploading artefacts (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Watkins <[email protected]>
  • Loading branch information
ModeSevenIndustrialSolutions authored Jul 28, 2024
1 parent 40b684f commit 90709f3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test-gha-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
needs:
- python-project
runs-on: "ubuntu-latest"
continue-on-error: true
continue-on-error: false
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.python-project.outputs.matrix) }}
Expand Down Expand Up @@ -152,6 +152,13 @@ jobs:
artefacts: ${{ env.artefacts}}
uses: os-climate/devops-reusable-workflows/.github/actions/python-twine-check@main

- name: Store the distribution packages
uses: actions/upload-artifact@v4
if: matrix.python-version == env.default-python
with:
name: ${{ github.ref_name }}
path: ${{ env.artefacts }}

- name: "Sign packages with Sigstore"
uses: sigstore/[email protected]
env:
Expand All @@ -161,12 +168,6 @@ jobs:
./${{ env.artefacts }}/*.tar.gz
./${{ env.artefacts }}/*.whl
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: ${{ github.ref_name }}
path: ${{ env.artefacts }}

github:
name: "📦 Publish to GitHub"
# Only publish on tag pushes
Expand Down

0 comments on commit 90709f3

Please sign in to comment.