Skip to content

Commit

Permalink
actions: update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Jul 15, 2024
1 parent d9f73a4 commit d3b96fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: "3.11"

- name: Install python dependencies
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@v1.3.1
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.pypi_password }}
10 changes: 5 additions & 5 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:

jobs:
bump:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out the repository
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: "3.11"

- name: Install bump2version
shell: bash
Expand All @@ -36,7 +36,7 @@ jobs:
bump2version patch --tag --verbose
- name: Push changes
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@0.8.0
with:
github_token: ${{ secrets.INSPIRE_BOT_TOKEN }}
branch: ${{ github.ref }}
Expand Down

0 comments on commit d3b96fd

Please sign in to comment.