mirror of https://github.com/astral-sh/uv
parent
360fa2626a
commit
458b4f2dde
|
|
@ -92,24 +92,11 @@ jobs:
|
||||||
plan: ${{ needs.plan.outputs.val }}
|
plan: ${{ needs.plan.outputs.val }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
custom-build-docker:
|
|
||||||
needs:
|
|
||||||
- plan
|
|
||||||
if: ${{ needs.plan.outputs.publishing == 'true' || fromJson(needs.plan.outputs.val).ci.github.pr_run_mode == 'upload' || inputs.tag == 'dry-run' }}
|
|
||||||
uses: ./.github/workflows/build-docker.yml
|
|
||||||
with:
|
|
||||||
plan: ${{ needs.plan.outputs.val }}
|
|
||||||
secrets: inherit
|
|
||||||
permissions:
|
|
||||||
packages: write
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
# Build and package all the platform-agnostic(ish) things
|
# Build and package all the platform-agnostic(ish) things
|
||||||
build-global-artifacts:
|
build-global-artifacts:
|
||||||
needs:
|
needs:
|
||||||
- plan
|
- plan
|
||||||
- custom-build-binaries
|
- custom-build-binaries
|
||||||
- custom-build-docker
|
|
||||||
runs-on: "ubuntu-20.04"
|
runs-on: "ubuntu-20.04"
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ dispatch-releases = true
|
||||||
# Whether CI should include auto-generated code to build local artifacts
|
# Whether CI should include auto-generated code to build local artifacts
|
||||||
build-local-artifacts = false
|
build-local-artifacts = false
|
||||||
# Local artifacts jobs to run in CI
|
# Local artifacts jobs to run in CI
|
||||||
local-artifacts-jobs = ["./build-binaries", "./build-docker"]
|
local-artifacts-jobs = ["./build-binaries"]
|
||||||
# Publish jobs to run in CI
|
# Publish jobs to run in CI
|
||||||
publish-jobs = ["./publish-pypi"]
|
publish-jobs = ["./publish-pypi"]
|
||||||
# For: `permissions: packages: write`.
|
# For: `permissions: packages: write`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue