From 28829f61af67feb643c38fce5cf7d1303bd37d2e Mon Sep 17 00:00:00 2001 From: cosven Date: Mon, 3 Feb 2025 16:03:40 +0800 Subject: [PATCH] ci: try to fix macos build --- .github/workflows/macos-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index 561b79937..6c8f1f62d 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -32,6 +32,9 @@ jobs: - name: Install libmpv run: | brew install mpv + - name: Setup OS version and ARCH + run: | + echo "FUO_MACOS_VERSION=`sw_vers --productVersion`" >> $GITHUB_ENV - name: Setup DYLD path for macos-arm64 if: matrix.os == 'macos-latest' run: | @@ -54,7 +57,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: FeelUOwnX-macOS${{ env.DIST_MACOS_VERSION }}-${{ env.DIST_ARCH }}.zip + name: FeelUOwnX-macOS${{ env.FUO_MACOS_VERSION }}-${{ env.RUNNER_ARCH }}.zip path: dist/FeelUOwnX*.zip - name: Upload to release page if: startsWith(github.ref, 'refs/tags/v')