From ab57926e44bef277fe558d2bc2cd924657b7fc5f Mon Sep 17 00:00:00 2001 From: didirus4 Date: Mon, 7 Jul 2025 19:20:40 +0300 Subject: [PATCH] ref: Remove unused workflow steps --- .github/workflows/astralrinth-build.yml | 51 +++++++++++++------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/astralrinth-build.yml b/.github/workflows/astralrinth-build.yml index 2a490500..b5ede000 100644 --- a/.github/workflows/astralrinth-build.yml +++ b/.github/workflows/astralrinth-build.yml @@ -23,12 +23,13 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, windows-latest, ubuntu-latest] + # platform: [macos-latest, windows-latest, ubuntu-latest] + platform: [ubuntu-latest] include: - - platform: macos-latest - artifact-target-name: universal-apple-darwin - - platform: windows-latest - artifact-target-name: x86_64-pc-windows-msvc + # - platform: macos-latest + # artifact-target-name: universal-apple-darwin + # - platform: windows-latest + # artifact-target-name: x86_64-pc-windows-msvc - platform: ubuntu-latest artifact-target-name: x86_64-unknown-linux-gnu @@ -72,11 +73,11 @@ jobs: - name: 🧰 Install dependencies run: pnpm install - - name: ✍️ Set up Windows code signing (jsign) - if: matrix.platform == 'windows' && env.SIGN_WINDOWS_BINARIES == 'true' - shell: bash - run: | - choco install jsign --ignore-dependencies + # - name: ✍️ Set up Windows code signing (jsign) + # if: matrix.platform == 'windows-latest' && env.SIGN_WINDOWS_BINARIES == 'true' + # shell: bash + # run: | + # choco install jsign --ignore-dependencies - name: 🗑️ Clean up cached bundles shell: bash @@ -84,12 +85,12 @@ jobs: rm -rf target/release/bundle rm -rf target/*/release/bundle || true - - name: 🔨 Build macOS app - if: matrix.platform == 'macos-latest' - run: pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-release.conf.json - env: - TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + # - name: 🔨 Build macOS app + # if: matrix.platform == 'macos-latest' + # run: pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-release.conf.json + # env: + # TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + # TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} - name: 🔨 Build Linux app if: matrix.platform == 'ubuntu-latest' @@ -98,15 +99,15 @@ jobs: TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} - - name: 🔨 Build Windows app - if: matrix.platform == 'windows-latest' - shell: pwsh - run: | - $env:JAVA_HOME = "$env:JAVA_HOME_11_X64" - pnpm --filter=@modrinth/app run tauri build --config tauri-release.conf.json --verbose --bundles 'nsis' - env: - TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} + # - name: 🔨 Build Windows app + # if: matrix.platform == 'windows-latest' + # shell: pwsh + # run: | + # $env:JAVA_HOME = "$env:JAVA_HOME_11_X64" + # pnpm --filter=@modrinth/app run tauri build --config tauri-release.conf.json --verbose --bundles 'nsis' + # env: + # TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} + # TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} - name: 📤 Upload app bundles uses: actions/upload-artifact@v3