Fix workflow issues.

This commit is contained in:
Ottermandias 2023-09-29 22:59:57 +02:00
parent 3c2937187b
commit efd9ebd4d1
2 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
name: Create Testing Release name: Create Release
on: on:
push: push:
@ -79,9 +79,9 @@ jobs:
run: | run: |
git config --global user.name "Actions User" git config --global user.name "Actions User"
git config --global user.email "actions@github.com" git config --global user.email "actions@github.com"
git fetch origin master git fetch origin main
git branch -f master ${{ github.sha }} git branch -f main ${{ github.sha }}
git checkout master git checkout main
git add repo.json git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true
git push origin master git push origin main

View file

@ -77,9 +77,9 @@ jobs:
run: | run: |
git config --global user.name "Actions User" git config --global user.name "Actions User"
git config --global user.email "actions@github.com" git config --global user.email "actions@github.com"
git fetch origin master git fetch origin main
git branch -f master ${{ github.sha }} git branch -f main ${{ github.sha }}
git checkout master git checkout main
git add repo.json git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true
git push origin master git push origin main