Skip to content

Commit

Permalink
fix: pipe logic
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <[email protected]>
  • Loading branch information
jleach committed Oct 25, 2024
1 parent 3ae8c21 commit cfd2b20
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,25 @@ jobs:
early-exit-check:
runs-on: ubuntu-22.04
outputs:
should_skip_build: ${{ steps.core_files_changed.outputs.result == 'true' }}
should_skip_build: ${{ steps.core_files_changed_output.outputs.result }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all branches, main needed.

# - name: Check if core files changed
# id: core_files_changed
# uses: ./.github/workflows/actions/early-exit-check

- name: Check if core files changed
id: core_files_changed
# if: steps.core_files_changed.outputs.result == 'true'
uses: ./.github/workflows/actions/early-exit-check

- name: Check if core files changed
id: core_files_changed_output
shell: bash
run: |
echo "result=true" >> $GITHUB_OUTPUT
if [ "${{ steps.core_files_changed.outputs.result }}" == "true" ]; then
echo "result=true" >> $GITHUB_OUTPUT
else
echo "result=false" >> $GITHUB_OUTPUT
fi
build-ios:
needs: [check-secrets, check-vars, early-exit-check]
Expand Down

0 comments on commit cfd2b20

Please sign in to comment.