Skip to content

Commit

Permalink
Update version.yml
Browse files Browse the repository at this point in the history
Add check if matrix has any value to ignore job if there was no change at all
  • Loading branch information
sidey79 committed Oct 8, 2021
1 parent 98be36e commit aa758a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
# Set output
echo "::set-output name=matrix::$( echo "$JSON" )"
modify:
if: ${{ fromJSON( needs.metadata.outputs.matrix ).include[0] }}
continue-on-error: true
runs-on: ubuntu-latest
needs: metadata
Expand Down

0 comments on commit aa758a3

Please sign in to comment.