Skip to content

Commit 54a74c0

Browse files
author
Charlles Abreu
authored
Removes conda build for osx-arm64 platform (#12)
* Fixed conda-build variant * Removes osx-arm64 build * Fixed conda workflow
1 parent 3bdb53e commit 54a74c0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/Conda.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
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

0 commit comments

Comments
 (0)