diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1e168815..514a9515 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -6,6 +6,7 @@ on: pull_request: branches: [ master ] workflow_dispatch: + workflow_call: env: CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecc6fa78..acfc2989 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,24 +8,34 @@ jobs: release-build-windows: uses: ./.github/workflows/windows.yml + release-build-macos: + uses: ./.github/workflows/macos.yml + release-build-manual: uses: ./.github/workflows/latex.yml attach-to-release: - needs: [release-build-windows, release-build-manual] + needs: [release-build-windows, release-build-macos, release-build-manual] runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/download-artifact@v4 - - name: Create versioned zip + - name: Create versioned Windows zip run: | VERSION="${{ github.event.release.tag_name }}" VERSION_NO_V="${VERSION#v}" cd windows zip -r ../windows-$VERSION_NO_V.zip . + - name: Create versioned macOS zip + run: | + VERSION="${{ github.event.release.tag_name }}" + VERSION_NO_V="${VERSION#v}" + cd macos + zip -r ../macos-$VERSION_NO_V.zip . - uses: softprops/action-gh-release@v2 with: files: | windows-*.zip + macos-*.zip manual/tracy.pdf