Skip to content

Commit

Permalink
Merge pull request #232 from rapidsai/branch-24.08
Browse files Browse the repository at this point in the history
Forward-merge branch-24.08 into branch-24.10
  • Loading branch information
GPUtester authored Jul 23, 2024
2 parents fb98784 + ad36aeb commit b05b0d4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/conda-upload-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,11 @@ jobs:
echo "RAPIDS_SHA=$(git rev-parse HEAD)" >> "${GITHUB_ENV}"
echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
- name: Check if repository is private
uses: actions/github-script@v7
id: is-private
with:
result-encoding: string
retries: 5
script: |
return (await github.rest.repos.get({
owner: context.repo.owner,
repo: context.repo.repo,
})).data.private
- name: Set Proper Conda Upload Token
env:
REPO_IS_PRIVATE: ${{steps.is-private.outputs.result}}
run: |
RAPIDS_CONDA_TOKEN=${{ secrets.CONDA_RAPIDSAI_NIGHTLY_TOKEN }}
if rapids-is-release-build; then
RAPIDS_CONDA_TOKEN=${{ secrets.CONDA_RAPIDSAI_TOKEN }}
if [ "${REPO_IS_PRIVATE}" = "true" ]; then
RAPIDS_CONDA_TOKEN=${{ secrets.CONDA_NVIDIA_TOKEN }}
fi
fi
echo "RAPIDS_CONDA_TOKEN=${RAPIDS_CONDA_TOKEN}" >> "${GITHUB_ENV}"
- name: Upload packages
Expand Down

0 comments on commit b05b0d4

Please sign in to comment.