Skip to content

Commit e7c43b8

Browse files
authored
Fix issues with the CI script
1 parent ec5cf94 commit e7c43b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2929
git config --global --add safe.directory "$(realpath .)"
3030
git init
31-
git branch -m master
31+
git branch -m main
3232
git remote add origin https://github.com/metacraft-labs/metacraft-overlay
3333
git fetch --all
34-
git reset --hard origin/master
34+
git reset --hard origin/main
3535
- name: Update manifests
3636
run: |
3737
useradd -K MAIL_DIR=/dev/null -m builder
@@ -66,10 +66,10 @@ jobs:
6666
done
6767
chown -R builder $(pwd)
6868
sudo -E -u builder git remote set-url origin [email protected]:metacraft-labs/metacraft-overlay
69-
sudo -E -u builder sh -c "(git add . && git commit -m 'Update manifest' && git push origin HEAD:master) || echo 'Nothing to commit'"
69+
sudo -E -u builder sh -c "(git add . && git commit -m 'Update manifest' && git push origin HEAD:main) || echo 'Nothing to commit'"
7070
- name: Sync and add repo
7171
run: |
72-
eselect repository add untitled-desktop-overlay git https://github.com/metacraft-labs/metacraft-overlay.git || exit
72+
eselect repository add metacraft-overlay git https://github.com/metacraft-labs/metacraft-overlay.git || exit
7373
emerge --sync metacraft-overlay || exit
7474
- name: Configure use flags
7575
run: |

0 commit comments

Comments
 (0)