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 21
21
- os : macos-latest
22
22
platform : osx-64
23
23
24
- - os : macos-latest
25
- platform : osx-arm64
26
-
27
24
steps :
28
25
- uses : actions/checkout@v3
29
26
@@ -47,10 +44,10 @@ jobs:
47
44
working-directory : ./devtools/conda-recipes/anaconda
48
45
run : |
49
46
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
51
48
echo "::group::Building conda package for version $PLUGIN_VERSION"
52
49
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
54
51
echo "::endgroup::"
55
52
echo "::group::Uploading packages to mdtools conda channel"
56
53
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
You can’t perform that action at this time.
0 commit comments