From db3554cba00d2f09fdc08da0452a3b291faab023 Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Thu, 8 Apr 2021 21:19:41 +0800 Subject: [PATCH] fix bug Former-commit-id: 2a66d43776735de1a226151eed9e7d4bcfbdf34b --- .github/workflows/release.yml | 59 ----------------------------------- _travis.yml => .travis.yml | 0 _appveyor.yml => appveyor.yml | 0 3 files changed, 59 deletions(-) delete mode 100644 .github/workflows/release.yml rename _travis.yml => .travis.yml (100%) rename _appveyor.yml => appveyor.yml (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 0e14070b..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Build/release - -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - release: - runs-on: ${{ matrix.os }} - - # Platforms to build on/for - strategy: - matrix: - os: [macos-latest, ubuntu-latest, windows-latest] - - steps: - - name: Check out Git repository - uses: actions/checkout@v2 - - - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 - with: - node-version: 12 - - - name: Install Snapcraft - uses: samuelmeuli/action-snapcraft@v1 - # Only install Snapcraft on Ubuntu - if: startsWith(matrix.os, 'ubuntu') - with: - # Log in to Snap Store - snapcraft_token: ${{ secrets.snapcraft_token }} - - - name: Prepare for app notarization (macOS) - if: startsWith(matrix.os, 'macos') - # Import Apple API key for app notarization on macOS - run: | - mkdir -p ~/private_keys/ - echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8 - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - build_script_name: "build:github" - # 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') }} - env: - # macOS notarization API key - API_KEY_ID: ${{ secrets.api_key_id }} - API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }} diff --git a/_travis.yml b/.travis.yml similarity index 100% rename from _travis.yml rename to .travis.yml diff --git a/_appveyor.yml b/appveyor.yml similarity index 100% rename from _appveyor.yml rename to appveyor.yml