-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add flutter dekstop to nextcloud
- Loading branch information
Showing
3 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,15 +31,18 @@ jobs: | |
run: | | ||
if [[ `git show-ref "${{ env.BRANCH_RELEASE_CANDIDATE }}" 2>/dev/null` ]]; then | ||
echo "[INFO] Branch ${{ env.BRANCH_RELEASE_CANDIDATE }} exists, deleting it" | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "svc" | ||
git branch -d ${{ env.BRANCH_RELEASE_CANDIDATE }} | ||
git push origin --delete ${{ env.BRANCH_RELEASE_CANDIDATE }} | ||
echo "NEEDS_DELETE=true" >> $GITHUB_ENV | ||
else | ||
echo "[INFO] Branch ${{ env.BRANCH_RELEASE_CANDIDATE }} does not exist" | ||
echo "NEEDS_DELETE=false" >> $GITHUB_ENV | ||
fi | ||
- name: 🗑️ Delete Release Candidate branch | ||
if: ${{ env.NEEDS_DELETE == 'true' }} | ||
uses: dawidd6/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branches: ${{ env.BRANCH_RELEASE_CANDIDATE }} | ||
|
||
- name: Create Branch release candidate from main | ||
uses: peterjgrainger/[email protected] | ||
|