diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e03dcce..974ff538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,15 @@ jobs: - uses: actions/checkout@v2 - run: npm ci - run: npm run build - - run: npm run dist:${{ matrix.dist-target }} -- --publish never + - if: matrix.os == 'ubuntu-latest' + run: npm run dist:macos -- --publish never + env: + CSC_LINK: ${{ secrets.CSC_LINK }} + CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + APPLE_ID: ${{ secrets.APPLE_ID }} + APPLE_ID_APP_PASSWORD: ${{ secrets.APPLE_ID_APP_PASSWORD }} + - if: matrix.os != 'macos-latest' + run: npm run dist:${{ matrix.dist-target }} -- --publish never - uses: actions/upload-artifact@v2 with: name: ${{ github.event.repository.name }}-${{ matrix.dist-target }}