Browse Source

CI: set token for downloading dist repo

SukkaW 1 year ago
parent
commit
762aefbdeb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/main.yml

+ 1 - 0
.github/workflows/main.yml

@@ -42,6 +42,7 @@ jobs:
           repository: SukkaLab/ruleset.skk.moe
           persist-credentials: false
           path: previous-build-${{ github.run_id }}-${{ github.run_number }}
+          token: ${{ secrets.GIT_TOKEN }}
       - name: Setup build folder
         run: |
           mv previous-build-${{ github.run_id }}-${{ github.run_number }}/{.,}* ${{ steps.ramdisk.outputs.build_dir }}/