Fix: Switch back to repo branch before creating release
This commit is contained in:
6
.github/workflows/create_release.yml
vendored
6
.github/workflows/create_release.yml
vendored
@@ -155,6 +155,12 @@ jobs:
|
|||||||
echo "EOF"
|
echo "EOF"
|
||||||
} >> $GITHUB_OUTPUT
|
} >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
# Switch back to 'repo' branch to upload the APK
|
||||||
|
- name: Final Switch to repo branch
|
||||||
|
if: steps.check_release.outputs.exists == 'false'
|
||||||
|
run: |
|
||||||
|
git checkout repo
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: steps.check_release.outputs.exists == 'false'
|
if: steps.check_release.outputs.exists == 'false'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user