File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 99 build-and-upload :
1010 strategy :
1111 matrix :
12- platform : [ linux-64, linux-aarch64, osx-64, osx-arm64 ]
13- runs-on : ${{ (matrix.platform == 'osx-64' || matrix.platform == 'osx-arm64')
14- && 'macos-latest'
15- || 'ubuntu-latest' }}
12+ platform :
13+ - subdir : linux-64
14+ runs : ubuntu-latest
15+ - subdir : linux-aarch64
16+ runs : ubuntu-24.04-arm
17+ - subdir : osx-64
18+ runs : macos-13
19+ - subdir : osx-arm64
20+ runs : macos-latest
21+ runs-on : ${{ matrix.platform.runs }}
1622 defaults :
1723 run :
1824 shell : bash -l {0}
94100 VERSION : ${{ steps.vars.outputs.VERSION }}
95101 REPO_NAME : ${{ steps.vars.outputs.REPO_NAME }}
96102 run : |
97- PKG=$(ls conda-build-artifacts/${{ matrix.platform }}/${{ env.REPO_NAME }}-${{ env.VERSION }}-*.tar.bz2)
103+ PKG=$(ls conda-build-artifacts/${{ matrix.platform.subdir }}/${{ env.REPO_NAME }}-${{ env.VERSION }}-*.tar.bz2)
98104 anaconda -t $ANACONDA_TOKEN upload "$PKG" --user $ANACONDA_USER --label main --force
You can’t perform that action at this time.
0 commit comments