Some checks failed
CI / skinny-install (aco) (push) Successful in 44s
CI / lint-test (push) Failing after 1m27s
CI / skinny-install (api) (push) Successful in 51s
CI / skinny-install (bcda) (push) Successful in 32s
CI / skinny-install (bib) (push) Successful in 28s
CI / skinny-install (bls) (push) Successful in 28s
CI / skinny-install (ccw) (push) Successful in 26s
CI / skinny-install (cli) (push) Successful in 32s
CI / skinny-install (cms) (push) Successful in 27s
CI / skinny-install (conf) (push) Successful in 30s
CI / skinny-install (perf) (push) Successful in 33s
CI / skinny-install (pfs) (push) Successful in 31s
CI / skinny-install (rex) (push) Successful in 30s
Infra CI / notebooks (push) Successful in 7s
Infra CI / zotero (push) Successful in 6s
Deploy / build-scan-report (push) Has been cancelled
Infra CI / mc (push) Has been cancelled
Infra CI / api (push) Has been cancelled
Infra CI / docs (push) Has been cancelled
Gitea reserves the GITEA_ prefix for Actions secrets, so secrets.GITEA_TOKEN resolved to empty, causing 401 on all package uploads in pkg-supply-chain workflow. - Rename CI secret from GITEA_TOKEN to DEPLOY_TOKEN (env var stays GITEA_TOKEN for code compatibility) - Add provision_gitea_actions() to provisioning system — syncs DEPLOY_TOKEN, REGISTRY_USER, REGISTRY_TOKEN to Gitea Actions - Wired into both provision() and bootstrap() flows - All 7 Gitea Actions workflows updated Refs #229, refs #230
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# DO NOT EDIT — generated by gen_config.py from stack.toml
|
|
# Re-generate: uv run python dev/scripts/gen_config.py
|
|
|
|
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags: ["v*"]
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: Set up uv
|
|
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
env:
|
|
UV_INSTALL_DIR: /usr/local/bin
|
|
|
|
- name: Build package
|
|
run: uv build --out-dir dist/
|
|
|
|
- name: Create release
|
|
uses: https://github.com/softprops/action-gh-release@v2
|
|
with:
|
|
files: |
|
|
dist/*.whl
|
|
dist/*.tar.gz
|
|
|
|
- name: File failure issue
|
|
if: failure()
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
|
run: |
|
|
uv sync --no-dev --quiet 2>/dev/null || true
|
|
uv run python -m api.diag.ci \
|
|
--workflow "Release" --job "release" \
|
|
--run "${{ github.run_number }}" \
|
|
--sha "${{ github.sha }}" \
|
|
--ref "${{ github.ref }}" || true
|