Skip to content

Commit

Permalink
ci: support toggling releases on/off for ci runs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 26, 2025
1 parent 8372310 commit 24045c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ash-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
HEX_API_KEY:
required: false
inputs:
release:
type: boolean
default: true
publish-docs:
type: boolean
default: true
Expand Down Expand Up @@ -413,7 +416,7 @@ jobs:
- dialyzer
- build-dev
- deps
if: ${{ always() && !failure() && !cancelled() && startsWith(github.ref, 'refs/tags/v') }}
if: ${{ inputs.release && always() && !failure() && !cancelled() && startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
name: Release
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ jobs:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
with:
sat-solver: ${{ matrix.sat_solver }}
igniter-upgrade: ${{matrix.sat_solver == 'SimpleSat'}}
igniter-upgrade: ${{matrix.sat_solver == 'Picosat'}}
publish-docs: ${{matrix.sat_solver == 'Picosat'}}
release: ${{matrix.sat_solver == 'Picosat'}}

0 comments on commit 24045c3

Please sign in to comment.