Skip to content

Try and fix compute matrix for publish workflow #9

Try and fix compute matrix for publish workflow

Try and fix compute matrix for publish workflow #9

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Publish packages
on:
push:
tags:
- 'v*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-release
cancel-in-progress: true
jobs:
publish-packages:
needs:
- compute-matrix
- build-conda
secrets: inherit
runs-on: ubuntu-latest

Check failure on line 22 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Publish packages

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 22, Col: 5): Unexpected value 'runs-on' .github/workflows/publish.yaml (Line: 23, Col: 5): Unexpected value 'steps'
steps:
- run: exit 0
compute-matrix:
runs-on: ubuntu-latest
outputs:
BUILD_MATRIX: ${{ steps.compute-matrix.outputs.BUILD_MATRIX }}
TEST_MATRIX: ${{ steps.compute-matrix.outputs.TEST_MATRIX }}
steps:
- uses: actions/checkout@v4
- name: Compute Build Matrix
id: compute-matrix
uses: ./.github/actions/compute-matrix
build-conda:
uses: ./.github/workflows/conda-python-build.yaml
secrets: inherit
with:
build_type: release
script: "ci/build_conda.sh"
upload_to_anaconda: true