From 02a1b47eebcd4dcf022eb4a2579f07f368596cd2 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Sat, 14 Sep 2024 19:59:43 +0200 Subject: [PATCH] Disabled MacOS build until fixed (+ out of CI minutes...) --- .github/workflows/release.yml | 78 +++++++++++++++++------------------ 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a434a8..c8263a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -124,42 +124,42 @@ jobs: Output/Gitnuro*.zip token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} - build_macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - with: - toolchain: nightly - - run: cargo install cargo-kotars --git https://github.com/JetpackDuba/kotars - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'corretto' - architecture: x64 - - name: Build with Gradle - uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 - with: - arguments: createDistributable - - name: Create output directory - run: mkdir Output - - name: MacOS DMG - working-directory: build/compose/binaries/main/app/ - run: zip -r ../../../../../Output/Gitnuro_macos_${{github.ref_name}}.zip . - - name: Generate SHA256 Checksum - working-directory: ./Output/ - run: find . -type f -exec bash -c "shasum -a 256 {} > {}.sum " \; - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - body: "Beta release" - prerelease: true - draft: true - repository: JetpackDuba/Gitnuro - with: - files: | - Output/Gitnuro*.zip - Output/Gitnuro*.sum - token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} \ No newline at end of file +# build_macos: +# runs-on: macos-latest +# steps: +# - uses: actions/checkout@v3 +# - uses: dtolnay/rust-toolchain@stable +# with: +# toolchain: nightly +# - run: cargo install cargo-kotars --git https://github.com/JetpackDuba/kotars +# - name: Set up JDK 17 +# uses: actions/setup-java@v3 +# with: +# java-version: '17' +# distribution: 'corretto' +# architecture: x64 +# - name: Build with Gradle +# uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 +# with: +# arguments: createDistributable +# - name: Create output directory +# run: mkdir Output +# - name: MacOS DMG +# working-directory: build/compose/binaries/main/app/ +# run: zip -r ../../../../../Output/Gitnuro_macos_${{github.ref_name}}.zip . +# - name: Generate SHA256 Checksum +# working-directory: ./Output/ +# run: find . -type f -exec bash -c "shasum -a 256 {} > {}.sum " \; +# - name: Release +# uses: softprops/action-gh-release@v2 +# if: startsWith(github.ref, 'refs/tags/') +# with: +# body: "Beta release" +# prerelease: true +# draft: true +# repository: JetpackDuba/Gitnuro +# with: +# files: | +# Output/Gitnuro*.zip +# Output/Gitnuro*.sum +# token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} \ No newline at end of file