Skip to content

Commit

Permalink
Fix package upload for main releases (facebookresearch#3910)
Browse files Browse the repository at this point in the history
Summary:
Similar to .github/workflows/nightly.yml

Pull Request resolved: facebookresearch#3910

Reviewed By: kuarora, pankajsingh88

Differential Revision: D63923478

Pulled By: asadoughi

fbshipit-source-id: df92a86ba48aa0d19aae40d7ca11aeedf4dfac51
  • Loading branch information
asadoughi authored and aalekhpatel07 committed Oct 17, 2024
1 parent 5a1d8fc commit 2b87078
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
linux-x86_64-GPU-packages-CUDA-11-4-4:
name: Linux x86_64 GPU packages (CUDA 11.4.4)
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -189,8 +191,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
cuda: "11.4.4"
linux-x86_64-GPU-RAFT-packages-CUDA11-8-0:
name: Linux x86_64 GPU w/ RAFT packages (CUDA 11.8.0)
Expand All @@ -206,8 +210,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
raft: "ON"
cuda: "11.8.0"
linux-x86_64-GPU-packages-CUDA-12-1-1:
Expand All @@ -224,8 +230,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
cuda: "12.1.1"
linux-x86_64-GPU-RAFT-packages-CUDA12-1-1:
name: Linux x86_64 GPU w/ RAFT packages (CUDA 12.1.1)
Expand All @@ -241,8 +249,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
raft: "ON"
cuda: "12.1.1"
windows-x86_64-packages:
Expand All @@ -257,8 +267,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
osx-arm64-packages:
name: OSX arm64 packages
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -271,8 +283,10 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging
linux-arm64-packages:
name: Linux arm64 packages
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -285,5 +299,7 @@ jobs:
fetch-tags: true
- name: Build and Package (conda)
uses: ./.github/actions/build_conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
with:
label: main
label: staging

0 comments on commit 2b87078

Please sign in to comment.