File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,15 @@ jobs:
1313
1414 create-git-branch-release :
1515 runs-on : ubuntu-latest
16+ env :
17+ RELEASE_BRANCH : release
1618 outputs :
17- branch : ${{ steps.release_branch.outputs.value }}
19+ branch : ${{ env.RELEASE_BRANCH }}
1820 steps :
1921 - uses : actions/checkout@v4
2022
2123 - name : Create release branch
22- env :
23- RELEASE_BRANCH : release
24- id : release_branch
25- run : |
26- git checkout -B $RELEASE_BRANCH
27- echo "value=$RELEASE_BRANCH" >> $GITHUB_OUTPUT
24+ run : git checkout -B $RELEASE_BRANCH
2825
2926 - name : Remove submodule (if exists)
3027 env :
@@ -37,11 +34,13 @@ jobs:
3734 git rm -f $SUBMODULE_PATH || true
3835 rm -rf .git/modules/$SUBMODULE_PATH || true
3936 git commit -m "Remove submodule"
40- git push
4137 else
4238 echo "Submodule not found, skipping removal."
4339 fi
4440
41+ - name : Push release branch
42+ run : git push --force --set-upstream origin $RELEASE_BRANCH
43+
4544 create-github-release :
4645 needs : create-git-branch-release
4746 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments