-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Resequence operations for signing and uploading artefacts (#75)
Signed-off-by: Matthew Watkins <[email protected]>
- Loading branch information
1 parent
40b684f
commit 90709f3
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) }} | ||
|
@@ -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: | ||
|
@@ -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 | ||
|