Skip to content

Commit

Permalink
Fix workflow issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ottermandias committed Sep 29, 2023
1 parent 3c29371 commit efd9ebd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Testing Release
name: Create Release

on:
push:
Expand Down Expand Up @@ -79,9 +79,9 @@ jobs:
run: |
git config --global user.name "Actions User"
git config --global user.email "actions@github.com"
git fetch origin master
git branch -f master ${{ github.sha }}
git checkout master
git fetch origin main
git branch -f main ${{ github.sha }}
git checkout main
git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true
git push origin master
git push origin main
8 changes: 4 additions & 4 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
run: |
git config --global user.name "Actions User"
git config --global user.email "actions@github.com"
git fetch origin master
git branch -f master ${{ github.sha }}
git checkout master
git fetch origin main
git branch -f main ${{ github.sha }}
git checkout main
git add repo.json
git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true
git push origin master
git push origin main

0 comments on commit efd9ebd

Please sign in to comment.