Skip to content

Commit

Permalink
Merge pull request #59 from dimitrismistriotis/reconfigured_release_f…
Browse files Browse the repository at this point in the history
…ri_24_jan_2025_1

Update package_release.yml
  • Loading branch information
dimitrismistriotis authored Jan 24, 2025
2 parents 05d05c5 + 2e27620 commit 85881a1
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ name: "Release"
tags:
- v*
jobs:
build:
name: "Build package"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
python -m pip install --upgrade pip
- run: python setup.py sdist
- uses: actions/upload-artifact@v4
with:
path: ./dist
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
Expand All @@ -16,11 +30,6 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pypa/gh-action-pypi-publish@release/v1
- run: |
python -m pip install --upgrade pip
- run: python setup.py sdist
with:
packages_dir: artifact/

0 comments on commit 85881a1

Please sign in to comment.