Skip to content

Commit

Permalink
ci: 修复构建失败的总是
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyyb committed Apr 18, 2024
1 parent f959f22 commit 077342d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
create_release:
runs-on: ubuntu-latest
permission:
permissions:
contents: write # 创建 release 需要此权限
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch'
steps:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:

upload_publish:
runs-on: ubuntu-latest
permission:
permissions:
contents: write # 创建 release 需要此权限
needs: build_binary
steps:
Expand Down

0 comments on commit 077342d

Please sign in to comment.