增加快捷键:手动上传(忽略内容控制) #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- 'v*' | |
jobs: | |
prebuild: | |
uses: ./.github/workflows/prebuild.yml | |
with: | |
checkout-repo: ${{ github.repository }} | |
checkout-ref: ${{ github.ref }} | |
build-win: | |
needs: [build-server, prebuild] | |
uses: ./.github/workflows/win-release.yml | |
build-server: | |
uses: ./.github/workflows/server-release.yml | |
secrets: inherit | |
build-linux: | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
needs: prebuild | |
uses: ./.github/workflows/linux-release.yml | |
with: | |
checkout-repo: ${{ github.repository }} | |
checkout-ref: ${{ github.ref }} | |
build-mac: | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
needs: prebuild | |
uses: ./.github/workflows/mac-release.yml | |
with: | |
checkout-repo: ${{ github.repository }} | |
checkout-ref: ${{ github.ref }} |