From 7db67fefa8ec5d99b39a1f53dcb2111cd23e6eef Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sat, 3 Dec 2022 15:53:48 +0100 Subject: [PATCH] Update release action for build. --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf60c03a..565ec74f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,10 +75,13 @@ jobs: git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master && git fetch origin test && git checkout master + git fetch origin master + git fetch origin test + git checkout master git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true - git push origin master || true - git branch -f test origin/master && git checkout test + git push origin master + git branch -f test origin/master + git checkout test git push origin test -f || true