From a1e9c4469763afa7725297b4dcb01bb72c739d6d Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 31 Mar 2023 18:50:40 +0200 Subject: [PATCH] Test different action. --- .github/workflows/release.yml | 1 + .github/workflows/test_release.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 490a171f..89ea2b56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,6 +77,7 @@ jobs: git fetch origin master git fetch origin test + git branch -f test ${{ github.sha }} git checkout master git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index 33afd0ee..6ae471be 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -77,9 +77,8 @@ 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 branch -f test origin/master + git branch -f test ${{ github.sha }} git checkout test git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref }}" || true