Skip to content

Commit

Permalink
#2087 updating release job to use a more recent version of actions/se…
Browse files Browse the repository at this point in the history
…tup-python
  • Loading branch information
allmightyspiff committed Sep 13, 2023
1 parent 1e52a02 commit f6fb649
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install pypa/build
run: >-
python -m
Expand All @@ -33,5 +33,5 @@ jobs:
with:
user: __token__
password: ${{ secrets.CGALLO_PYPI }}
repository_url: https://upload.pypi.org/legacy/
repository-url: https://upload.pypi.org/legacy/

14 changes: 7 additions & 7 deletions .github/workflows/test_pypi_release.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

name: Publish 📦 to TestPyPI
name: TEST Publish 📦 to TestPyPI

on:
push:
branches: [test-pypi ]
branches: [test-pypi]

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
name: TEST Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install pypa/build
run: >-
python -m
Expand All @@ -34,4 +34,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.CGALLO_TEST_PYPI }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

0 comments on commit f6fb649

Please sign in to comment.