Skip to content

Commit

Permalink
Add debug step
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ringler committed Nov 23, 2023
1 parent d1a8947 commit 1bc3a9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/czishrink_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
needs: changes
runs-on: ubuntu-latest
steps:
- run: echo czishrink ${{ needs.changes.outputs.czishrink }} czicompress ${{ needs.changes.outputs.czicompress }}
- run: echo ${{ needs.changes.outputs.czishrink }} czicompress ${{ needs.changes.outputs.czicompress }}

analyze:
needs: changes
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/subproject-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
runs-on: ubuntu-latest
# Set job outputs to values from filter step for PRs, and true for other events.
outputs:
czishrink: ${{ github.event_name != 'pull_request' || steps.filter.outputs.czishrink == 'true' }}
czicompress: ${{ github.event_name != 'pull_request' || steps.filter.outputs.czicompress == 'true' }}
czishrink: ${{ steps.result.outputs.czishrink == 'true' }}
czicompress: ${{ steps.result.outputs.czicompress == 'true' }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
Expand All @@ -41,3 +41,9 @@ jobs:
- '**czicompress**'
- '.github/**'
- '*.yml'
- id: result
run: |
echo "job output: czishrink: ${{ github.event_name != 'pull_request' || steps.filter.outputs.czishrink == 'true' }} czicompress: ${{ github.event_name != 'pull_request' || steps.filter.outputs.czicompress == 'true' }}"
echo "czishrink=${{ github.event_name != 'pull_request' || steps.filter.outputs.czishrink == 'true' }}" >> "$GITHUB_OUTPUT"
echo "czi=${{ github.event_name != 'pull_request' || steps.filter.outputs.czicompress == 'true' }}" >> "$GITHUB_OUTPUT"

0 comments on commit 1bc3a9a

Please sign in to comment.