ソースを参照

Fix Fedora repo update

Maximilian Luz 5 年 前
コミット
b78eee47f6
2 ファイル変更2 行追加2 行削除
  1. 1 1
      .github/workflows/fedora-30.yml
  2. 1 1
      .github/workflows/fedora-31.yml

+ 1 - 1
.github/workflows/fedora-30.yml

@@ -103,7 +103,7 @@ jobs:
 
         # commit and push
         update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
-        git switch -c "${update_branch}"
+        git checkout -b "${update_branch}"
         git add .
         git commit -m "Update Fedora 30 kernel"
         git push --set-upstream origin "${update_branch}"

+ 1 - 1
.github/workflows/fedora-31.yml

@@ -103,7 +103,7 @@ jobs:
 
         # commit and push
         update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
-        git switch -c "${update_branch}"
+        git checkout -b "${update_branch}"
         git add .
         git commit -m "Update Fedora 31 kernel"
         git push --set-upstream origin "${update_branch}"