Skip to content

Commit 08787c4

Browse files
author
Your Name
committed
test new flow
1 parent 9afa3be commit 08787c4

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/flow-rc.yaml

-12
This file was deleted.

.github/workflows/flow.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
outputs:
12+
release_type: ${{ steps.check_release.outputs.type }}
1113
steps:
1214
- name: Check release type
1315
id: check_release
@@ -17,5 +19,11 @@ jobs:
1719
echo "RELEASE_SUFFIX=-rc" >> $GITHUB_ENV
1820
echo "type=${TYPE}" >> $GITHUB_OUTPUT
1921
- name: Update chart name for RC versions
20-
if: needs.build.outputs.release_type == 'release-candidate'
22+
if: steps.check_release.outputs.type == 'release-candidate'
2123
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

Comments
 (0)