From c2241fa3311c8de8780419257ecf40940fdf8688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20K=C3=B6nig?= Date: Wed, 21 Feb 2024 21:48:15 +0100 Subject: [PATCH] delete unused workflow --- .github/workflows/test_build.yml | 83 -------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 .github/workflows/test_build.yml diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml deleted file mode 100644 index 9b1a9b2a..00000000 --- a/.github/workflows/test_build.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Test build - -on: - workflow_dispatch: - push: - branches: - - develop - -jobs: - build_desktop: - name: Build desktop app for ${{ matrix.platform }} - strategy: - matrix: - platform: [ macos-latest ] - runs-on: ${{ matrix.platform }} - env: - TAURI_PRIVATE_KEY: "${{ secrets.TAURI_PRIVATE_KEY }}" - TAURI_KEY_PASSWORD: "${{ secrets.TAURI_KEY_PASSWORD }}" - APPLE_CERTIFICATE: "${{ secrets.APPLE_CERTIFICATE }}" - APPLE_CERTIFICATE_PASSWORD: "${{ secrets.APPLE_CERTIFICATE_PASSWORD }}" - APPLE_SIGNING_IDENTITY: "${{ secrets.APPLE_SIGNING_IDENTITY }}" - APPLE_ID: "${{ secrets.APPLE_ID }}" - APPLE_PASSWORD: "${{ secrets.APPLE_PASSWORD }}" - APPLE_TEAM_ID: "${{ secrets.APPLE_TEAM_ID }}" - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: '20' - cache: 'yarn' - - run: yarn - - - run: rustup toolchain install stable - - run: rustup target add aarch64-apple-darwin - if: matrix.platform == 'macos-latest' - - uses: swatinem/rust-cache@v2 - with: - workspaces: './src-tauri -> target' - key: ${{ matrix.platform }} - - - name: build apple-silicon app - if: matrix.platform == 'macos-latest' - run: yarn tauri:build --target aarch64-apple-darwin - - - name: (mac arm) upload .dmg - if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@v3 - with: - path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/elasticvue_*_aarch64.dmg - - - name: (mac arm) rename artifacts - if: matrix.platform == 'macos-latest' - run: | - mv src-tauri/target/aarch64-apple-darwin/release/bundle/macos/elasticvue.app.tar.gz src-tauri/target/aarch64-apple-darwin/release/bundle/macos/elasticvue_aarch64.app.tar.gz - mv src-tauri/target/aarch64-apple-darwin/release/bundle/macos/elasticvue.app.tar.gz.sig src-tauri/target/aarch64-apple-darwin/release/bundle/macos/elasticvue_aarch64.app.tar.gz.sig - - - name: (mac arm) upload .app and artifacts - if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@v3 - with: - path: src-tauri/target/aarch64-apple-darwin/release/bundle/macos/elasticvue_aarch64* - - - run: yarn tauri:build - - - name: (mac) upload .dmg - if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@v3 - with: - path: src-tauri/target/release/bundle/dmg/elasticvue_*_x64.dmg - - - name: (mac) rename artifacts - if: matrix.platform == 'macos-latest' - run: | - mv src-tauri/target/release/bundle/macos/elasticvue.app.tar.gz src-tauri/target/release/bundle/macos/elasticvue_x64.app.tar.gz - mv src-tauri/target/release/bundle/macos/elasticvue.app.tar.gz.sig src-tauri/target/release/bundle/macos/elasticvue_x64.app.tar.gz.sig - - - name: (mac) upload .app and artifacts - if: matrix.platform == 'macos-latest' - uses: actions/upload-artifact@v3 - with: - path: src-tauri/target/release/bundle/macos/elasticvue_x64*