Skip to content

Commit b952686

Browse files
authored
Merge pull request #102 from tacaswell/ci/update_GHA
Ci/update gha
2 parents 702f61e + 6e74aa9 commit b952686

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/release.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: python -m build
3131

3232
- name: Save built packages as artifact
33-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
3434
with:
3535
name: packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}
3636
path: dist/
@@ -46,12 +46,19 @@ jobs:
4646
id-token: write
4747
steps:
4848
- name: Download packages
49-
uses: actions/download-artifact@v3
49+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
50+
with:
51+
pattern: packages-*
52+
path: dist
53+
merge-multiple: true
5054

51-
- name: Consolidate packages for upload
52-
run: |
53-
mkdir dist
54-
cp packages-*/* dist/
55+
- name: Print out packages
56+
run: ls dist
57+
58+
- name: Generate artifact attestation for sdist and wheel
59+
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
60+
with:
61+
subject-path: dist/cycler-*
5562

5663
- name: Publish package distributions to PyPI
57-
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
64+
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3

0 commit comments

Comments
 (0)