Skip to content

Commit

Permalink
Update Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
inquilabee committed Nov 24, 2024
1 parent 4476849 commit d4065ef
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@ permissions:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Set PYPI token
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build package
run: poetry build
- name: Publish package
run: poetry publish
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev.txt
- name: Set PYPI token
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build package
run: poetry build
- name: Publish package
run: poetry publish
14 changes: 7 additions & 7 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d4065ef

Please sign in to comment.