fix: update workflow
This commit is contained in:
@@ -31,9 +31,11 @@ jobs:
|
|||||||
commit: --no-verify
|
commit: --no-verify
|
||||||
message: 'fix: resolve linter errors'
|
message: 'fix: resolve linter errors'
|
||||||
committer_name: GitHub Actions
|
committer_name: GitHub Actions
|
||||||
committer_email: actions@github.com
|
outputs:
|
||||||
|
committed: ${{ steps.commit.outputs.committed }}
|
||||||
format:
|
format:
|
||||||
needs: lint
|
needs: lint
|
||||||
|
if: ${{ needs.lint.outputs.committed == false }}
|
||||||
name: format
|
name: format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -68,7 +70,7 @@ jobs:
|
|||||||
run: echo ${{ needs.format.outputs.committed }}
|
run: echo ${{ needs.format.outputs.committed }}
|
||||||
test:
|
test:
|
||||||
needs: format
|
needs: format
|
||||||
if: needs.format.outputs.committed == false
|
if: ${{ needs.format.outputs.committed == false }}
|
||||||
name: test
|
name: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user