Skip to content

Commit

Permalink
Update macos.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored Aug 24, 2023
1 parent 68fb068 commit 3fbe021
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
strategy:
matrix:
include:
- platform: 'x86_64'
- platform: 'arm64'
- architecture: 'x86_64'
conda_platform: 'osx-64'
- architecture: 'arm64'
conda_platform: 'osx-arm64'

name: Package for macOS
steps:
Expand All @@ -43,7 +45,6 @@ jobs:
run: |
QGIS_VERSION=$(conda search -c conda-forge -f qgis | grep py311 | tail -n 1 | tr -s ' ' | cut -f 2 -d ' ')
QGIS_VERSION_SHORT=$(echo $QGIS_VERSION | cut -d'.' -f 1,2)
MICROMAMBA_PLATFORM="osx-"$(echo ${{ matrix.platform }} | cut -d_ -f2)
echo QGIS_VERSION=$QGIS_VERSION >> $GITHUB_ENV
echo QGIS_VERSION_SHORT=$QGIS_VERSION_SHORT >> $GITHUB_ENV
echo MICROMAMBA_PLATFORM=$MICROMAMBA_PLATFORM >> $GITHUB_ENV
Expand All @@ -66,6 +67,6 @@ jobs:
- name: 📦 Upload artifacts
uses: actions/upload-artifact@v3
with:
name: QGIS-${{ env.QGIS_VERSION }}-MacOSX-${{ matrix.platform }}
path: QGIS-${{ env.QGIS_VERSION }}-MacOSX-${{ matrix.platform }}.pkg
name: QGIS-${{ env.QGIS_VERSION }}-MacOSX-${{ matrix.architecture }}
path: QGIS-${{ env.QGIS_VERSION }}-MacOSX-${{ matrix.architecture }}.pkg

0 comments on commit 3fbe021

Please sign in to comment.