File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 60
60
- name : Output release kind
61
61
id : release-kind
62
62
run : |
63
- echo "release-kind=$RELEASE_KIND" >> $GITHUB_OUTPUT
63
+ echo "release-kind=${{ env. RELEASE_KIND }} " >> $GITHUB_OUTPUT
64
64
65
65
- name : Get Pull Request Number
66
66
id : pr
@@ -69,16 +69,14 @@ jobs:
69
69
echo "pull_request_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
70
70
echo "::notice::PR_NUMBER is ${PR_NUMBER}"
71
71
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
72
- env :
73
- GITHUB_TOKEN : ${{ secrets.PAT }}
72
+ # env:
73
+ # GITHUB_TOKEN: ${{ secrets.PAT }}
74
74
75
75
- name : Bump version
76
76
id : bump-version
77
77
shell : bash
78
78
run : |
79
79
case "$RELEASE_KIND" in
80
- no-release)
81
- echo "PACKAGE=false" >> $GITHUB_ENV
82
80
major|minor|patch)
83
81
bump-my-version bump --allow-dirty --verbose "$RELEASE_KIND"
84
82
echo "TAG_NAME=$(bump-my-version show current_version)" >> $GITHUB_ENV
90
88
bump-my-version bump --allow-dirty --verbose --no-commit --no-tag "$RELEASE_KIND"
91
89
echo "PACKAGE=true" >> $GITHUB_ENV
92
90
;;
91
+ *)
92
+ echo "PACKAGE=false" >> $GITHUB_ENV
93
93
esac
94
94
95
- echo "package=PACKAGE" >> $GITHUB_OUTPUT
95
+ echo "package=${{ env. PACKAGE }} " >> $GITHUB_OUTPUT
96
96
97
97
- name : Package and upload artifacts
98
98
if : ${{ env.PACKAGE == 'true' }}
You can’t perform that action at this time.
0 commit comments