Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Jan 29, 2024
1 parent b88bd35 commit efd4cd0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python Package to PyPI
name: Build and publish Python package to PyPI

on:
release:
Expand All @@ -10,7 +10,7 @@ permissions:

jobs:
sdist:
if: startsWith(github.ref, 'refs/tags/pybigtools@')
if: startsWith(github.ref, 'refs/tags/pybigtools@v')

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
path: dist

windows:
if: startsWith(github.ref, 'refs/tags/pybigtools@')
if: startsWith(github.ref, 'refs/tags/pybigtools@v')

runs-on: windows-latest
strategy:
Expand All @@ -77,7 +77,7 @@ jobs:
path: dist

macos:
if: startsWith(github.ref, 'refs/tags/pybigtools@')
if: startsWith(github.ref, 'refs/tags/pybigtools@v')

runs-on: macos-latest
strategy:
Expand All @@ -101,7 +101,7 @@ jobs:
path: dist

publish:
if: startsWith(github.ref, 'refs/tags/pybigtools@')
if: startsWith(github.ref, 'refs/tags/pybigtools@v')

runs-on: ubuntu-latest
permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and release binaries

on:
release:
types: [created]
workflow_dispatch:

jobs:
release:
Expand Down

0 comments on commit efd4cd0

Please sign in to comment.