Skip to content

Commit

Permalink
reverted: release1 job in workflows/python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrod committed Oct 3, 2024
1 parent c357c44 commit 5038636
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,51 +33,3 @@ jobs:
- name: Run Tests
run: |
pdm run pytest
release1:
concurrency: release1
permissions:
contents: write
# Only run this job if the "ci" job passes
needs: ci

# Only run this job if new work is pushed to the "master" branch
if: github.event_name == 'push' && github.ref == 'refs/heads/master'

# Set up operating system
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.release.outputs.tag }}
released: ${{ steps.release.outputs.released }}

# Define job steps
steps:
- name: Set up Python 3.12
uses: actions/setup-python@main
with:
python-version: 3.12
- name: Check-out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
submodules: recursive

- name: Use Python Semantic Release to prepare release
id: release
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/publish-action@main
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Store the distribution packages
uses: actions/upload-artifact@v4
if: steps.release.outputs.released == 'true'
with:
name: python-package-distributions
path: dist/

0 comments on commit 5038636

Please sign in to comment.