Skip to content

matvec

matvec #162

Workflow file for this run

name: publish

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

(Line: 93, Col: 5): 'needs' is already defined
on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
dry-run-only:
description: "Run xtask publish in dry-run mode (no publish)"
type: boolean
required: false
default: false
jobs:
check-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tracel-ai/github-actions/check-version@v5
with:
tag: ${{ github.ref_name }}
cargo_toml_path: Cargo.toml
publish-burn-vision:
needs:
- publish-burn-autodiff
- publish-burn-candle
- publish-burn-fusion
- publish-burn-cubecl-fusion
- publish-burn-cubecl
- publish-burn-ndarray
- publish-burn-tch
- publish-burn-tensor
- publish-burn-ir
- publish-burn-tensor-testgen
# dev dependencies
- publish-burn-wgpu
- publish-burn-cuda
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-vision
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-router:
needs:
- publish-burn-ir
- publish-burn-common
- publish-burn-tensor
# dev dependencies
- publish-burn-autodiff
- publish-burn-ndarray
- publish-burn-wgpu
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-router
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-remote:
needs:
- publish-burn-ir
- publish-burn-common
- publish-burn-tensor
- publish-burn-router
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-remote
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-derive:
needs:
- check-version
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-derive
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-dataset:
needs:
- publish-burn-common
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-dataset
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
needs:
- publish-burn-common
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-common:
needs:
- check-version
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-common
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-tensor-testgen:
needs:
- check-version
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-tensor-testgen
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-tensor:
needs:
- publish-burn-tensor-testgen
- publish-burn-common
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-tensor
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
copy-doc-assets: "docs/katex-header.html"
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-ir:
needs:
- publish-burn-tensor
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-ir
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-fusion:
needs:
- publish-burn-ir
- publish-burn-tensor
- publish-burn-common
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-fusion
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-cubecl-fusion:
needs:
- publish-burn-ir
- publish-burn-common
- publish-burn-fusion
- publish-burn-tensor
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-cubecl-fusion
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-cubecl:
needs:
- publish-burn-ir
- publish-burn-common
- publish-burn-fusion
- publish-burn-cubecl-fusion
- publish-burn-tensor
- publish-burn-ndarray
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-cubecl
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-autodiff:
needs:
- publish-burn-tensor
- publish-burn-tensor-testgen
- publish-burn-common
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-autodiff
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-tch:
needs:
- publish-burn-tensor
- publish-burn-autodiff
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-tch
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-ndarray:
needs:
- publish-burn-ir
- publish-burn-tensor
- publish-burn-autodiff
- publish-burn-common
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-ndarray
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-wgpu:
needs:
- publish-burn-tensor
- publish-burn-autodiff
- publish-burn-ndarray
- publish-burn-common
- publish-burn-cubecl
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-wgpu
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-cpu:
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v4
needs:
- publish-burn-tensor
- publish-burn-fusion
- publish-burn-cubecl
with:
crate: burn-cpu
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-cuda:
needs:
- publish-burn-tensor
- publish-burn-autodiff
- publish-burn-ndarray
- publish-burn-common
- publish-burn-cubecl
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-cuda
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-rocm:
needs:
- publish-burn-tensor
- publish-burn-autodiff
- publish-burn-ndarray
- publish-burn-common
- publish-burn-cubecl
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-rocm
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-candle:
needs:
- publish-burn-tensor
- publish-burn-autodiff
- publish-burn-tch
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-candle
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-collective:
needs:
- publish-burn-common
- publish-burn-tensor
- publish-burn-communication
# dev dependencies
- publish-burn-wgpu
- publish-burn-ndarray
- publish-burn-cuda
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-collective
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-communication:
needs:
- publish-burn-common
- publish-burn-tensor
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-communication
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-core:
needs:
- publish-burn-dataset
- publish-burn-common
- publish-burn-derive
- publish-burn-tensor
- publish-burn-vision
# dev dependencies
- publish-burn-autodiff
- publish-burn-wgpu
- publish-burn-tch
- publish-burn-cuda
- publish-burn-ndarray
- publish-burn-candle
- publish-burn-remote
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-core
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-nn:
needs:
- publish-burn-core
# dev dependencies
- publish-burn-autodiff
- publish-burn-wgpu
- publish-burn-tch
- publish-burn-ndarray
- publish-burn-candle
- publish-burn-remote
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-nn
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-optim:
needs:
- publish-burn-core
- publish-burn-collective
# dev dependencies
- publish-burn-autodiff
- publish-burn-wgpu
- publish-burn-tch
- publish-burn-ndarray
- publish-burn-candle
- publish-burn-remote
- publish-burn-nn
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-optim
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-train:
needs:
- publish-burn-core
- publish-burn-optim
- publish-burn-collective
- publish-burn-ndarray
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-train
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn:
needs:
- publish-burn-core
- publish-burn-nn
- publish-burn-optim
- publish-burn-collective
- publish-burn-store
- publish-burn-train
- publish-burn-cpu
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-import:
needs:
- publish-burn
- publish-burn-store
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-import
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-onnx-ir:
needs:
- check-version
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: onnx-ir
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}
publish-burn-store:
needs:
- publish-burn-core
- publish-burn-nn
- publish-burn-tensor
uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v5
with:
crate: burn-store
dry-run-only: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run-only || false }}
secrets:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_IO_API_TOKEN }}