mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 18:19:29 -07:00
fix(artifacts.yml): update condition in 'Build' job to check for 'any_changed' output instead of 'result' output for improved semantics
This commit is contained in:
6
.github/workflows/artifacts.yml
vendored
6
.github/workflows/artifacts.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
name: Filter
|
||||
outputs:
|
||||
result: ${{ steps.changed-files-specific.outputs.any_changed }}
|
||||
any_changed: ${{ steps.changed-files-specific.outputs.any_changed }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -31,8 +31,8 @@ jobs:
|
||||
needs: [filter]
|
||||
if: |
|
||||
github.ref == 'refs/heads/main' &&
|
||||
github.event.repository.fork == 'false' &&
|
||||
needs.filter.outputs.result == 'true'
|
||||
github.event.repository.fork == false &&
|
||||
needs.filter.outputs.any_changed == 'true'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user