Update build-and-run.yml

修正git action
This commit is contained in:
jiangmiemie 2023-12-04 15:54:01 +08:00 committed by GitHub
parent b5bee828ca
commit d6def4acd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,9 @@ on:
jobs: jobs:
build-and-run: build-and-run:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# 不给权限会报错
permissions:
contents: write
steps: steps:
- name: 1. Checkout repository - name: 1. Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4