File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2121 - os : macos-latest
2222 platform : osx-64
2323
24- - os : macos-latest
25- platform : osx-arm64
26-
2724 steps :
2825 - uses : actions/checkout@v3
2926
@@ -47,10 +44,10 @@ jobs:
4744 working-directory : ./devtools/conda-recipes/anaconda
4845 run : |
4946 export PLUGIN_VERSION=${{ github.ref_name }}
50- export PLUGIN_VERSION=v0.1 .0
47+ [ "$GITHUB_EVENT_NAME" == "pull_request" ] && export PLUGIN_VERSION=v0.0 .0
5148 echo "::group::Building conda package for version $PLUGIN_VERSION"
5249 outdir=$(mktemp -d)
53- conda mambabuild . --no-anaconda-upload --variants "{platform : ${{ matrix.platform }}}" --output-folder $outdir
50+ conda mambabuild . --no-anaconda-upload --variants "{target_platform : ${{ matrix.platform }}}" --output-folder $outdir
5451 echo "::endgroup::"
5552 echo "::group::Uploading packages to mdtools conda channel"
5653 if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
You can’t perform that action at this time.
0 commit comments