Skip to content

Commit

Permalink
bugfix in create release action
Browse files Browse the repository at this point in the history
  • Loading branch information
JarryShaw committed May 4, 2023
1 parent a284431 commit f7104d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@ jobs:
PCAPKIT_VERSION: ${{ steps.get_version.outputs.PCAPKIT_VERSION }}
PCAPKIT_PRERELEASE: ${{ steps.get_version.outputs.PCAPKIT_PRERELEASE }}
PCAPKIT_TAG_EXISTS: ${{ steps.check_tag.outputs.exists }}
PCAPKIT_GITHUB_REF: ${{ github.ref }}
PCAPKIT_CONDA_LABEL: ${{ steps.get_version.outputs.PCAPKIT_CONDA_LABEL }}

pypi_github:
name: PyPI & GitHub Release # with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
needs: [ version_check ]
if: ${{ startsWith(needs.version_check.outputs.PCAPKIT_GITHUB_REF, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
# strategy:
# matrix:
# python-version:
Expand Down Expand Up @@ -159,7 +158,7 @@ jobs:
name: Conda deployment of package with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
needs: [ version_check ]
if: ${{ startsWith(needs.version_check.outputs.PCAPKIT_GITHUB_REF, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ] # ignore 3.6/7 for now
Expand Down

0 comments on commit f7104d3

Please sign in to comment.