Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit fb48cb6

Browse files
authored
Update publish_stable.yml
1 parent 303d062 commit fb48cb6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish_stable.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
if: success() # Ensure this job only runs if the previous job succeeds
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
with:
24-
ref: dev
24+
ref: master
2525
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
2626
- name: Setup Python
27-
uses: actions/setup-python@v1
27+
uses: actions/setup-python@v5
2828
with:
29-
python-version: 3.8
29+
python-version: "3.11"
3030
- name: Install Build Tools
3131
run: |
3232
python -m pip install build wheel
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build Distribution Packages
3737
run: |
3838
python setup.py sdist bdist_wheel
39-
- name: Publish to Test PyPI
39+
- name: Publish to PyPI
4040
uses: pypa/gh-action-pypi-publish@master
4141
with:
4242
password: ${{secrets.PYPI_TOKEN}}
@@ -47,12 +47,12 @@ jobs:
4747
if: success() # Ensure this job only runs if the previous job succeeds
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v4
5151
with:
5252
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
5353
ref: master
5454
- name: Push master -> dev
5555
uses: ad-m/github-push-action@master
5656
with:
5757
github_token: ${{ secrets.GITHUB_TOKEN }}
58-
branch: dev
58+
branch: dev

0 commit comments

Comments
 (0)