Skip to content

Commit f1fb8b2

Browse files
authored
Update python-publish.yml
1 parent 7ab1849 commit f1fb8b2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
33

44
# This workflow uses actions that are not certified by GitHub.
55
# They are provided by a third-party and are governed by
@@ -12,15 +12,18 @@ on:
1212
release:
1313
types: [published]
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
deploy:
1720

1821
runs-on: ubuntu-latest
1922

2023
steps:
21-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2225
- name: Set up Python
23-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v3
2427
with:
2528
python-version: '3.x'
2629
- name: Install dependencies

0 commit comments

Comments
 (0)