From 16f54728dc76494190d642615bca53dd421a83d5 Mon Sep 17 00:00:00 2001 From: Mati Dastugue Date: Wed, 5 Aug 2020 14:47:55 -0300 Subject: [PATCH] Test CI --- .github/workflows/release.yml | 52 ++++------------------------------- 1 file changed, 6 insertions(+), 46 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6831889a..b68d7ba1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ name: Build/Release Desktop app on: push: branches: - - master + - fix/desktop-CI env: REACT_APP_BLOCKNATIVE_KEY: ${{ secrets.REACT_APP_BLOCKNATIVE_KEY }} @@ -44,48 +44,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: 10.16 - - run: yarn install --network-concurrency 1 - - - name: Build/Release Desktop App - env: - # macOS notarization API key - APPLEID: ${{ secrets.APPLE_ID }} - APPLEIDPASS: ${{ secrets.APPLE_ID_PASS }} - uses: samuelmeuli/action-electron-builder@v1 - with: - #Build scipt - build_script_name: build-desktop - - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - - github_token: ${{ secrets.github_token }} - - # macOS code signing certificate - mac_certs: ${{ secrets.MAC_CERTS }} - mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} - - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - - - name: 'Upload Artifacts OSX' - if: contains(github.ref, 'development') && startsWith(matrix.os, 'macos') - uses: actions/upload-artifact@v2 - with: - name: Desktop OSX - path: ./dist/Safe[ ]Multisig*.dmg - - - name: 'Upload Artifacts Linux' - if: contains(github.ref, 'development') && startsWith(matrix.os, 'ubuntu') - uses: actions/upload-artifact@v2 - with: - name: Desktop Linux - path: ./dist/Safe[ ]Multisig*.AppImage - - - name: 'Upload Artifacts Windows' - if: contains(github.ref, 'development') && startsWith(matrix.os, 'windows') - uses: actions/upload-artifact@v2 - with: - name: Desktop Windows - path: ./dist/Safe[ ]Multisig*.exe + - run: | + mkdir .yarncache + yarn install --frozen-lockfile --cache-folder ./.yarncache + rm -rf .yarncache + yarn cache clean