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.
2 parents 27f82c5 + f5667f0 commit eb88b8cCopy full SHA for eb88b8c
.github/workflows/push_main.yaml
@@ -72,6 +72,8 @@ jobs:
72
release_check:
73
runs-on: ubuntu-latest
74
needs: [test, lint]
75
+ outputs:
76
+ git_diff: ${{ steps.changes.outputs.git_diff }}
77
steps:
78
- name: Checkout repository
79
uses: actions/checkout@v2
@@ -88,11 +90,11 @@ jobs:
88
90
- name: Output Diff
89
91
if: env.GIT_DIFF
92
run: |
- echo ${{ env.GIT_DIFF }}
93
+ echo "::set-output name=git_diff::{{env.GIT_DIFF}}"
94
release:
95
96
needs: [release_check]
- if: env.GIT_DIFF
97
+ if: ${{ needs.release_check.outputs.git_diff }}
98
outputs:
99
version: ${{ steps.release.outputs.version }}
100
0 commit comments