From d6b436ee5884ec380451b3741e670a8a80cb6c8b Mon Sep 17 00:00:00 2001 From: Jason Thomas Date: Fri, 31 May 2024 15:19:12 -0400 Subject: [PATCH] Update create_release.yml --- .github/workflows/create_release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 119d279..41b09f8 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -55,11 +55,17 @@ jobs: with: name: pyopenva-1.2-win64.msi path: ./dist/*.msi - - name: Upload MacOS dmg + - name: Upload MacOS latest dmg uses: actions/upload-artifact@v4 - if: runner.os == 'macOS' + if: matrix.os == 'macos-latest' + with: + name: pyopenva-1.2-macosx-latest.dmg + path: ./build/*.dmg + - name: Upload MacOS 13 dmg + uses: actions/upload-artifact@v4 + if: matrix.os == 'macos-13' with: - name: pyopenVA.dmg + name: pyopenva-1.2-macosx-13.dmg path: ./build/*.dmg create_release: needs: [build] @@ -76,4 +82,4 @@ jobs: - name: Create release in GitHub and uploads attachments env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create v1.2 ./dist/pyopenva-1.2-win64.msi ./dist/pyopenVA.dmg + run: gh release create v1.2 ./dist/pyopenva-1.2-win64.msi ./dist/pyopenva-1.2-macosx-latest.dmg ./dist/pyopenva-1.2-macosx-13.dmg