We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a760337 commit ecac199Copy full SHA for ecac199
.github/workflows/update-cli.yml
@@ -11,6 +11,8 @@ permissions:
11
jobs:
12
update-cli:
13
runs-on: ubuntu-latest
14
+ outputs:
15
+ has_changes: ${{ steps.status.outputs.has_changes }}
16
steps:
17
- name: Check out source
18
uses: actions/checkout@v3
@@ -40,6 +42,8 @@ jobs:
40
42
git config user.email 'npm-cli+bot@github.com'
41
43
git commit -m 'CLI documentation update from CI'
44
git push origin main
- - name: Call publish workflow
- if: steps.status.outputs.has_changes == '1'
45
- uses: ./.github/workflows/publish.yml
+
46
+ publish:
47
+ needs: update-cli
48
+ if: needs.update-cli.outputs.has_changes == '1'
49
+ uses: ./.github/workflows/publish.yml
0 commit comments