Skip to content

Commit ec39894

Browse files
committed
fix build (checkout at first)
1 parent 5700acb commit ec39894

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
# This workflow will upload a Python Package using Twine when a release is created
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3-
4-
# This workflow uses actions that are not certified by GitHub.
5-
# They are provided by a third-party and are governed by
6-
# separate terms of service, privacy policy, and support
7-
# documentation.
8-
9-
name: Publish Python distributions to PyPI
1+
name: 🚀 Publish to PyPI
102

113
on:
124
release:
@@ -21,10 +13,12 @@ jobs:
2113
runs-on: ubuntu-latest
2214

2315
steps:
16+
- uses: actions/checkout@v3
17+
2418
- name: Set up Python 🐍
2519
uses: actions/setup-python@v3
2620
with:
27-
python-version: '3.x'
21+
python-version: '3.11'
2822

2923
- name: Install Hatch 🐣
3024
run: pip install --upgrade pip "hatch==1.7.0"

0 commit comments

Comments
 (0)