Skip to content

Commit

Permalink
Merge pull request #36 from philips-software/remove-test-environment
Browse files Browse the repository at this point in the history
Fix: remove pypi test environment
  • Loading branch information
AnnieJovitha authored Apr 26, 2023
2 parents 8875d45 + cf37e22 commit 1133ffc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
id: version
run: |
echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
docker-image:
needs: [get-version]
name: Docker build from dockerfile
Expand All @@ -44,6 +45,7 @@ jobs:
slsa-provenance: true
sign: true
sbom: true

pypi-executable:
name: "Build and publish Python \U0001F40D distributions \U0001F4E6 to PyPI and TestPyPI"
runs-on: ubuntu-latest
Expand All @@ -60,10 +62,6 @@ jobs:
- name: Build a binary wheel and a source tarball
run: >-
python -m build --sdist --wheel --outdir dist/ .
- name: "Publish distribution \U0001F4E6 to Test PyPI"
uses: pypa/gh-action-pypi-publish@0bf742be3ebe032c25dd15117957dc15d0cfc38d # ratchet:pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: "Publish distribution \U0001F4E6 to PyPI"
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@0bf742be3ebe032c25dd15117957dc15d0cfc38d # ratchet:pypa/gh-action-pypi-publish@release/v1

0 comments on commit 1133ffc

Please sign in to comment.