Skip to content

Commit 94988e7

Browse files
authored
Fix conditions for action steps (#2)
1 parent e096832 commit 94988e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/api-docs-generator.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
if: steps.cache.outputs.cache-hit == 'true'
3434
run: echo "::set-output name=diff::true"
3535
- name: Generate specification artifacts
36-
if: steps.checksum.outputs.diff != 'false'
36+
if: steps.checksum.outputs.diff != 'true'
3737
uses: actions/upload-artifact@v2
3838
with:
3939
name: specification
4040
path: ${{ env.FILE_NAME }}
4141
generate:
4242
needs: diff
43-
if: needs.diff.outputs.diff != 'false'
43+
if: needs.diff.outputs.diff != 'true'
4444
name: Generate SDK
4545
runs-on: ubuntu-latest
4646
steps:
@@ -84,6 +84,7 @@ jobs:
8484
github_token: ${{ secrets.GITHUB_TOKEN }}
8585
branch: ${{ env.BRANCH }}
8686
- name: Create Release
87+
if: steps.commit.outputs.push == 'true'
8788
id: create_release
8889
uses: actions/create-release@v1
8990
env:

0 commit comments

Comments
 (0)