Skip to content

Commit

Permalink
chore: fixing cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 23, 2023
1 parent 5c7a3e2 commit d63dd4c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ jobs:
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# # Always build & lint package. Need to re-checkout after semantic-release in case it
# # made a commit
# build-package:
# name: Build & verify package
# runs-on: ubuntu-latest
# needs: semantic-release
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - uses: hynek/build-and-inspect-python-package@v1

# Upload to Test PyPI on every commit on main.
release-test-pypi:
Expand All @@ -58,13 +47,6 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: github.ref == 'refs/heads/main'
steps:
# Download the build package files
- name: Download packages built by build-and-inspect-python-package
with:
name: Packages
path: dist
uses: actions/download-artifact@v3

- name: Upload package to Test PyPI
with:
repository-url: https://test.pypi.org/legacy/
Expand All @@ -82,13 +64,6 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: github.ref == 'refs/heads/main'
steps:
# Download the build package files
- name: Download packages built by build-and-inspect-python-package
with:
name: Packages
path: dist
uses: actions/download-artifact@v3

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

Expand Down

0 comments on commit d63dd4c

Please sign in to comment.