Skip to content

Commit 8623fd9

Browse files
fix: move SBOM generation after PyPI publish step (#284) (#287)
Cherry-pick SBOM ordering fix to main to unblock v1.1.4 publish
1 parent e2a3411 commit 8623fd9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@ jobs:
8080
with:
8181
subject-path: "dist/*"
8282

83+
- name: Publish to PyPI
84+
if: steps.pypi_check.outputs.status == 'not_found'
85+
uses: pypa/gh-action-pypi-publish@release/v1
86+
8387
- name: Generate SBOM
8488
if: steps.pypi_check.outputs.status == 'not_found'
8589
uses: wphillipmoore/standard-actions/actions/security/trivy@develop
8690
with:
8791
scan-type: sbom
8892
output-file: dist/pymqrest-${{ steps.version.outputs.version }}.cdx.json
8993

90-
- name: Publish to PyPI
91-
if: steps.pypi_check.outputs.status == 'not_found'
92-
uses: pypa/gh-action-pypi-publish@release/v1
93-
9494
- name: Configure git identity
9595
if: steps.tag_check.outputs.exists == 'false'
9696
run: |

0 commit comments

Comments
 (0)