chore: set env for cli

This commit is contained in:
Xuehai Pan 2025-11-10 23:12:22 +08:00
parent febc2015f4
commit 49bdd79e6e
3 changed files with 13 additions and 3 deletions

View file

@ -34,6 +34,10 @@ concurrency:
permissions:
contents: read
env:
FORCE_COLOR: "1"
CLICOLOR_FORCE: "1"
jobs:
build:
name: Build sdist and wheels

View file

@ -28,9 +28,6 @@ on:
type: string
required: true
env:
IMAGE_REGISTRY: ghcr.io
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@ -41,6 +38,11 @@ permissions:
id-token: write
attestations: write
env:
IMAGE_REGISTRY: "ghcr.io"
FORCE_COLOR: "1"
CLICOLOR_FORCE: "1"
jobs:
build-and-publish:
name: Build and Publish Docker Images for ${{ matrix.name }}

View file

@ -13,6 +13,10 @@ concurrency:
permissions:
contents: read
env:
FORCE_COLOR: "1"
CLICOLOR_FORCE: "1"
jobs:
lint:
runs-on: ubuntu-latest