From 0b97e6b9a393e6945b7a3b96fc8a19f1d229e28d Mon Sep 17 00:00:00 2001 From: Ramil Bakhshyiev Date: Mon, 20 May 2024 21:32:36 -0700 Subject: [PATCH] Properly pass the label for conda upload steps (#3464) Summary: Migration to GitHub Differential Revision: D57593494 --- .github/actions/build_conda/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/build_conda/action.yml b/.github/actions/build_conda/action.yml index 4658f13a8f..982430c351 100644 --- a/.github/actions/build_conda/action.yml +++ b/.github/actions/build_conda/action.yml @@ -44,7 +44,7 @@ runs: if: inputs.label != '' shell: ${{ steps.choose_shell.outputs.shell }} env: - PACKAGE_TYPE: inputs.label + PACKAGE_TYPE: ${{ inputs.label }} run: | conda install -y -q anaconda-client conda config --set anaconda_upload yes @@ -59,7 +59,7 @@ runs: shell: ${{ steps.choose_shell.outputs.shell }} working-directory: conda env: - PACKAGE_TYPE: inputs.label + PACKAGE_TYPE: ${{ inputs.label }} run: | conda build faiss --user pytorch --label ${{ inputs.label }} -c pytorch - name: Conda build (GPU) @@ -74,7 +74,7 @@ runs: shell: ${{ steps.choose_shell.outputs.shell }} working-directory: conda env: - PACKAGE_TYPE: inputs.label + PACKAGE_TYPE: ${{ inputs.label }} run: | conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \ --user pytorch --label ${{ inputs.label }} -c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia @@ -90,7 +90,7 @@ runs: shell: ${{ steps.choose_shell.outputs.shell }} working-directory: conda env: - PACKAGE_TYPE: inputs.label + PACKAGE_TYPE: ${{ inputs.label }} run: | conda build faiss-gpu-raft --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \ --user pytorch --label ${{ inputs.label }} -c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge