1
0
mirror of synced 2025-12-07 22:18:05 +08:00

Update build.yml to avoid using token.

This commit is contained in:
Anduin Xue
2023-11-27 07:53:56 +00:00
committed by GitHub
parent 55266e5638
commit 4d523db3b9

View File

@@ -5,14 +5,17 @@ on:
branches: [ master ]
workflow_dispatch:
permissions:
contents: write
jobs:
Rebuild-everything:
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
- uses: actions/checkout@v2
- name: Clone
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
persist-credentials: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'