Skip to content

Commit

Permalink
Allow manually dispatching and don't run builds till tests done
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook committed Jul 18, 2023
1 parent 9b7994f commit 6d65218
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
tags:
- "*"
pull_request:
workflow_dispatch:

# Allow one concurrent deployment
concurrency:
Expand Down Expand Up @@ -86,6 +87,7 @@ jobs:
linux:
name: build linux
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1.40.1
Expand All @@ -102,6 +104,7 @@ jobs:
windows:
name: build windows
runs-on: windows-latest
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1.40.1
Expand All @@ -117,6 +120,7 @@ jobs:
macos:
name: build macos
runs-on: macos-latest
needs: [test]
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1.40.1
Expand All @@ -132,7 +136,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch')
needs: [macos, windows, linux]
steps:
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit 6d65218

Please sign in to comment.