Skip to content

Commit

Permalink
Optionally skip tests on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tundranerd committed Apr 19, 2024
1 parent 6969cf7 commit c45d0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:
inputs:
runTests:
description: "Run tests?"
type: boolean
required: false
default: false
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
call_workflow:
uses: febiosoftware/febio-workflows/.github/workflows/linux-reusable-push.yml@develop
with:
runTests: ${{ inputs.runTests == 'true' || contains(fromJSON('["develop", "develop"]'), github.ref_name) }}
runTests: ${{ (github.event_name == 'workflow_dispatch' && inputs.runTests) || (github.event_name == 'push' && contains(fromJSON('["develop"]'), github.ref_name)) }}
package-name: febio4
package-sdk: true
aws-ami-id: ami-0590ebdb5afffb782
Expand Down

0 comments on commit c45d0fa

Please sign in to comment.