Bump version to 0.2.0 #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
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: | |
needs: compute-matrix | |
uses: ./.github/workflows/conda-python-build.yaml | |
secrets: inherit | |
with: | |
build_type: release | |
script: "ci/build_conda.sh" | |
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }} | |
upload_to_anaconda: true | |
build-wheels: | |
needs: compute-matrix | |
uses: ./.github/workflows/wheels-build.yaml | |
secrets: inherit | |
with: | |
build_type: release | |
script: "ci/build_wheel.sh" | |
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }} | |
upload_to_pypi: true | |
build-docs: | |
needs: | |
- build-conda | |
uses: ./.github/workflows/docs-build.yaml | |
with: | |
build_type: release | |
deploy-docs: | |
needs: build-docs | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |