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 <jason.leach@fullboar.ca>
  • Loading branch information
jleach committed Oct 25, 2024
1 parent bd9c443 commit a5aba08
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
early-exit-check:
runs-on: ubuntu-22.04
outputs:
should_skip_build: ${{ steps.core_files_changed_output.outputs.result }}
should_skip_build: ${{ steps.core_files_changed.outputs.result }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -106,25 +106,25 @@ jobs:
if [ $change_count -gt 0 ]; then
# A result greater than 0 means there are changes
# in the specified directories.
echo "result=zz" >> $GITHUB_OUTPUT
echo "result=true" >> $GITHUB_OUTPUT
else
echo "result=xx" >> $GITHUB_OUTPUT
echo "result=false" >> $GITHUB_OUTPUT
fi
- name: xxxxxxx
# if: steps.core_files_changed.outputs.result != 'true'
id: core_files_changed_output
shell: bash
run: |
echo "${{ toJson(steps.core_files_changed.outputs) }}" | jq .
# if [ "${{ steps.core_files_changed.outputs.result }}" == "true" ]; then
# echo "YESSSSSSSSS"
# echo "result=true" >> $GITHUB_OUTPUT
# else
# echo "NOOOOO"
# echo "result=false" >> $GITHUB_OUTPUT
# fi
# - name: xxxxxxx
# # if: steps.core_files_changed.outputs.result != 'true'
# id: core_files_changed_output
# shell: bash
# run: |
# echo "${{ toJson(steps.core_files_changed.outputs) }}" | jq .

# # if [ "${{ steps.core_files_changed.outputs.result }}" == "true" ]; then
# # echo "YESSSSSSSSS"
# # echo "result=true" >> $GITHUB_OUTPUT
# # else
# # echo "NOOOOO"
# # echo "result=false" >> $GITHUB_OUTPUT
# # fi

build-ios:
needs: [check-secrets, check-vars, early-exit-check]
Expand Down

0 comments on commit a5aba08

Please sign in to comment.