Skip to content

Commit

Permalink
try checking == 'true'?
Browse files Browse the repository at this point in the history
- also tiny renames

Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
agilgur5 committed Oct 14, 2023
1 parent 9a4ac6c commit aafd917
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:

jobs:
changed-files:
name: Check changed files
name: Get changed files
outputs:
# reference: https://github.com/tj-actions/changed-files#outputs-
all: ${{ steps.changed-files.outputs.all_any_modified == 'true' }}
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 50 # assume PRs are less than 50 commits
- name: Check if relevant files were changed per group
- name: Get relevant files changed per group
id: changed-files
uses: tj-actions/changed-files@v39
with:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
e2e-tests:
name: E2E Tests
needs: [ changed-files, argoexec-image ]
if: needs.changed-files.outputs.e2e-tests
if: ${{ needs.changed-files.outputs.e2e-tests== 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 30
env:
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
codegen:
name: Codegen
needs: [ changed-files, tests ]
if: needs.changed-files.outputs.codegen
if: ${{ needs.changed-files.outputs.codegen == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 20
env:
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
lint:
name: Lint
needs: [ changed-files, tests, codegen ]
if: needs.changed-files.outputs.docs
if: ${{ needs.changed-files.outputs.docs == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 15 # must be strictly greater than the timeout in .golancgi.yml
env:
Expand All @@ -329,7 +329,7 @@ jobs:
ui:
name: UI
needs: [ changed-files ]
if: needs.changed-files.outputs.ui
if: ${{ needs.changed-files.outputs.ui == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 6
env:
Expand Down

0 comments on commit aafd917

Please sign in to comment.