瀏覽代碼

Merge pull request #42 from Nico170420/main

fix upload issue
azwhikaru 3 年之前
父節點
當前提交
e1393c9255
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .github/workflows/Recovery Build.yml

+ 4 - 2
.github/workflows/Recovery Build.yml

@@ -46,6 +46,8 @@ jobs:
   build:
     if: github.event.repository.owner.id == github.event.sender.id
     runs-on: ubuntu-20.04
+    permissions:
+      contents: write
     steps:
     - name: Display Run Parameters
       run: |
@@ -99,8 +101,8 @@ jobs:
         mkdir workspace
         cd workspace
         echo "workspace-folder=$(pwd)" >> $GITHUB_OUTPUT
-        git config --global user.name "Captain Throwback"
-        git config --global user.email "captainthrowback@hotmail.com"
+        git config --global user.name "Nico170420"
+        git config --global user.email "b170420nc@gmail.com"
         repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
       id: pwd