mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-10-22 03:14:06 -05:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Release Devtools
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "ods/v*.*.*"
|
|
|
|
jobs:
|
|
pypi:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: release-devtools
|
|
permissions:
|
|
id-token: write
|
|
timeout-minutes: 10
|
|
strategy:
|
|
matrix:
|
|
os-arch:
|
|
- { goos: "linux", goarch: "amd64" }
|
|
- { goos: "linux", goarch: "arm64" }
|
|
- { goos: "windows", goarch: "amd64" }
|
|
- { goos: "windows", goarch: "arm64" }
|
|
- { goos: "darwin", goarch: "amd64" }
|
|
- { goos: "darwin", goarch: "arm64" }
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # ratchet:astral-sh/setup-uv@v8.1.0
|
|
with:
|
|
enable-cache: false
|
|
version: "0.9.9"
|
|
- run: |
|
|
GOOS="${{ matrix.os-arch.goos }}" \
|
|
GOARCH="${{ matrix.os-arch.goarch }}" \
|
|
uv build --wheel
|
|
working-directory: tools/ods
|
|
- run: uv publish
|
|
working-directory: tools/ods
|