Skip to content

Commit

Permalink
try to upgrade setup-python action
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Nov 28, 2024
1 parent 75744dd commit 1b9f159
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pipenv'
- name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Publish package
run: TWINE_USERNAME=__token__ TWINE_PASSWORD=${{ secrets.PIPY_HAVERSINE_TOKEN }} make deploy
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pipenv"
- name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
- name: Publish package
run: TWINE_USERNAME=__token__ TWINE_PASSWORD=${{ secrets.PIPY_HAVERSINE_TOKEN }} make deploy
16 changes: 8 additions & 8 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: Testing

on:
on:
workflow_dispatch: ~
push:
branches: [main]
Expand All @@ -19,10 +19,10 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- "3.8"
- "3.9"
- "3.10"
- "3.11"
experimental: [false]
# include:
# - python-version: '3.12-dev'
Expand All @@ -31,13 +31,13 @@ jobs:
name: Python ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pipenv'
cache: "pipenv"

- name: Install pipenv
run: |
Expand Down

0 comments on commit 1b9f159

Please sign in to comment.