Skip to content

Commit

Permalink
Update and modify files for the project
Browse files Browse the repository at this point in the history
- Updated files:
  - .github/workflows/build.yml
  • Loading branch information
Aviksaikat committed May 6, 2024
1 parent bc0a0ac commit 4ec78be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
release:
runs-on: ubuntu-latest
environment: release
# if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/heads/main/')
permissions:
contents: write
id-token: write
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
hatch build
- name: Publish 📦 to Test PyPI
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, '')
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
Expand All @@ -63,7 +63,7 @@ jobs:
packages-dir: dist/
repository-url: https://test.pypi.org/legacy/
- name: Publish 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, '')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down

0 comments on commit 4ec78be

Please sign in to comment.