Skip to content

Commit 6b18ad8

Browse files
authored
update various actions (#41)
1 parent 2ce0b7f commit 6b18ad8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release-package.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
- uses: actions/checkout@v4
1515

1616
- name: Set up Python
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5.5.0
1818
with:
1919
python-version: "3.x"
2020

2121
- name: Install Poetry
22-
uses: snok/install-poetry@v1
22+
uses: snok/install-poetry@v1.4.1
2323

2424
- name: Install dependencies
2525
run: poetry install
@@ -68,6 +68,7 @@ jobs:
6868
if: startsWith(github.ref, 'refs/tags/')
6969
needs:
7070
- build
71+
- publish-to-testpypi
7172
runs-on: ubuntu-latest
7273
environment:
7374
name: pypi
@@ -84,22 +85,22 @@ jobs:
8485

8586
# Add signing steps before publishing
8687
- name: Set up Python environment
87-
uses: actions/setup-python@v4
88+
uses: actions/setup-python@v5.5.0
8889
with:
8990
python-version: "3.x"
9091
- name: Install cryptography version 43
9192
run: |
9293
python -m pip install --upgrade pip
9394
pip install cryptography==43.*
9495
- name: Sign the dists with Sigstore
95-
uses: sigstore/gh-action-sigstore-python@v2.1.1
96+
uses: sigstore/gh-action-sigstore-python@v3.0.0
9697
with:
9798
inputs: >-
9899
./dist/*.tar.gz
99100
./dist/*.whl
100101
101102
- name: Publish distribution 📦 to PyPI
102-
uses: pypa/gh-action-pypi-publish@release/v1
103+
uses: pypa/gh-action-pypi-publish@v1.12.4
103104

104105
publish-to-testpypi:
105106
name: Publish Python 🐍 distribution 📦 to TestPyPI
@@ -121,6 +122,6 @@ jobs:
121122
name: python-package-distributions-testing
122123
path: dist/
123124
- name: Publish distribution 📦 to TestPyPI
124-
uses: pypa/gh-action-pypi-publish@release/v1
125+
uses: pypa/gh-action-pypi-publish@v1.12.4
125126
with:
126127
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)