Skip to content

Commit

Permalink
remove run_specs cond
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed May 10, 2022
1 parent 4a529f5 commit 3b7b9cd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
7 changes: 1 addition & 6 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ outputs:
description: Determine if the `scripts` job should run
value: ${{ steps.diff.outputs.GITHUB_ACTIONS_CHANGED > 0 || steps.diff.outputs.SCRIPTS_CHANGED > 0 }}

RUN_SPECS:
description: Determine if the `specs` job should run
value: ${{ steps.spec-matrix.outputs.RUN_SPECS }}
SPECS_MATRIX:
description: The generated `specs` matrix
value: ${{ steps.spec-matrix.outputs.MATRIX }}
Expand All @@ -134,6 +131,4 @@ outputs:

RUN_CODEGEN:
description: Determine if the `codegen` job should run
value: ${{
steps.spec-matrix.outputs.RUN_SPECS == 'true' ||
steps.gen-matrix.outputs.RUN_GEN == 'true' }}
value: ${{ steps.gen-matrix.outputs.RUN_GEN == 'true' }}
2 changes: 0 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
outputs:
RUN_SCRIPTS: ${{ steps.setup.outputs.RUN_SCRIPTS }}

RUN_SPECS: ${{ steps.setup.outputs.RUN_SPECS }}
SPECS_MATRIX: ${{ steps.setup.outputs.SPECS_MATRIX }}

RUN_GEN: ${{ steps.setup.outputs.RUN_GEN }}
Expand Down Expand Up @@ -88,7 +87,6 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 10
needs: setup
if: ${{ needs.setup.outputs.RUN_SPECS == 'true' }}
strategy:
matrix: ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX) }}
steps:
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/githubActions/createMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ async function getSpecMatrix(): Promise<void> {
],
};

console.log('::set-output name=RUN_SPECS::true');
console.log(`::set-output name=MATRIX::${JSON.stringify(ciMatrix)}`);
}

Expand Down

0 comments on commit 3b7b9cd

Please sign in to comment.