We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9afa3be commit 08787c4Copy full SHA for 08787c4
.github/workflows/flow-rc.yaml
.github/workflows/flow.yaml
@@ -8,6 +8,8 @@ on:
8
jobs:
9
release:
10
runs-on: ubuntu-latest
11
+ outputs:
12
+ release_type: ${{ steps.check_release.outputs.type }}
13
steps:
14
- name: Check release type
15
id: check_release
@@ -17,5 +19,11 @@ jobs:
17
19
echo "RELEASE_SUFFIX=-rc" >> $GITHUB_ENV
18
20
echo "type=${TYPE}" >> $GITHUB_OUTPUT
21
- name: Update chart name for RC versions
- if: needs.build.outputs.release_type == 'release-candidate'
22
+ if: steps.check_release.outputs.type == 'release-candidate'
23
run: echo "suffix is ${{ env.RELEASE_SUFFIX }}"
24
+ second_job:
25
+ runs-on: ubuntu-latest
26
+ if: needs.release.outputs.release_type == 'production'
27
+ steps:
28
+ - name: print
29
+ run: echo 'well done'
0 commit comments