Skip to content

Commit

Permalink
ci: fix conditional?
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Jun 2, 2024
1 parent 9c5d2d4 commit 4b1694d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

changes:
outputs:
should-build-php: ${{ steps.changes.outputs.php == 'true' }}
should-build-php: ${{ steps.changes.outputs.php }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -62,7 +62,7 @@ jobs:
php:
needs: [changes]
if: needs.changes.outputs.should-build-php == 'true'
if: needs.changes.outputs.should-build-php
name: PHP
runs-on: ubuntu-latest

Expand Down Expand Up @@ -146,6 +146,8 @@ jobs:
pixelfed:
name: pixelfed
runs-on: ubuntu-latest
# always run the pixelfed step
if: ${{ always() }}
needs: [php]

strategy:
Expand Down

0 comments on commit 4b1694d

Please sign in to comment.