mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Fix workflow issues.
This commit is contained in:
parent
3c2937187b
commit
efd9ebd4d1
2 changed files with 9 additions and 9 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
8
.github/workflows/test_release.yml
vendored
8
.github/workflows/test_release.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue