diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 739be3584..bdc375d18 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,29 +3,17 @@ on: workflow_dispatch: inputs: # null for another event skip: - type: choice - default: no - options: - - no - - workflow - - job + type: boolean + default: false permissions: {} concurrency: - group: ${{ github.workflow }}-workflow - cancel-in-progress: ${{ inputs.skip != 'job' }} + group: ${{ github.workflow }} + cancel-in-progress: true jobs: test1: - if: ${{ inputs.skip == 'false'}} + if: ${{ inputs.skip == false}} runs-on: ubuntu-latest steps: - run: sleep 60 - test2: - concurrency: - group: ${{ github.workflow }}-job - cancel-in-progress: true - if: ${{ inputs.skip != 'job'}} - runs-on: ubuntu-latest - steps: - - run: sleep 120