Skip to content

Commit 5580ad7

Browse files
committed
Fixes publish.yml
1 parent b3358ad commit 5580ad7

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publishing on PyPi
1+
name: Publishing on PyPI
22
on:
33
release:
44
types: [published]
@@ -8,18 +8,18 @@ jobs:
88
name: Publish Python 🐍 distributions 📦 to PyPI
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@master
11+
- uses: actions/checkout@v4
1212

1313

14-
- name: Set up Python 3.8
15-
uses: actions/setup-python@v4
14+
- name: Set up Python 3.9
15+
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.8
17+
python-version: 3.9
1818
- name: Check Version
1919
run: test ${{ github.event.release.tag_name }} = `python -c "import scorep._version; print('v'+scorep._version.__version__)"`
2020

2121
- name: Add Score-P repo
22-
run: sudo add-apt-repository ppa:andreasgocht/scorep
22+
run: sudo add-apt-repository ppa:score-p/releases
2323

2424
- name: Install Score-P
2525
run: sudo apt-get -y install scorep
@@ -31,11 +31,13 @@ jobs:
3131
run: >-
3232
python -m
3333
pip install build --user
34+
3435
- name: Build a source tarball
3536
run: >-
3637
python -m
3738
build --sdist --outdir dist/ .
39+
3840
- name: Publish distribution 📦 to PyPI
39-
uses: pypa/gh-action-pypi-publish@master
41+
uses: pypa/gh-action-pypi-publish@release/v1
4042
with:
4143
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)