Skip to content

Commit

Permalink
Update prhtmlgenerator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bockiii authored Oct 16, 2024
1 parent d9e0f87 commit 96e91d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prhtmlgenerator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
PR=${{github.event.number}};
wget https://patch-diff.githubusercontent.com/raw/$GITHUB_REPOSITORY/pull/$PR.patch;
bridgeamount=$(cat $PR.patch | grep "\bbridges/[A-Za-z0-9]*Bridge\.php\b" | sed "s=.*\bbridges/\([A-Za-z0-9]*\)Bridge\.php\b.*=\1=g" | sort | uniq | wc -l)
echo ::set-output name=bridges::$bridgeamount
echo "BRIDGES=$bridgeamount" >> "$GITHUB_OUTPUT"
test-pr:
name: Generate HTML
runs-on: ubuntu-latest
needs: check-bridges
if: ${{needs.check-bridges.check1.outputs.bridges}} >= 1
if: ${{needs.check-bridges.check1.outputs.BRIDGES}} >= 1
env:
PYTHONUNBUFFERED: 1
# Needs additional permissions https://github.com/actions/first-interaction/issues/10#issuecomment-1041402989
Expand Down

0 comments on commit 96e91d9

Please sign in to comment.