From 2f28cb07bcb54fea085c62d219389c62c0eb8849 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 14 Jan 2024 08:32:33 -0800 Subject: [PATCH] Reverse workflow changes --- .github/workflows/publish-linux-release.yml | 35 ------------------ .github/workflows/publish-linux.yml | 2 +- .github/workflows/publish-macos-release.yml | 40 --------------------- .github/workflows/publish-macos.yml | 2 +- package.json | 3 +- 5 files changed, 3 insertions(+), 79 deletions(-) delete mode 100644 .github/workflows/publish-linux-release.yml delete mode 100644 .github/workflows/publish-macos-release.yml diff --git a/.github/workflows/publish-linux-release.yml b/.github/workflows/publish-linux-release.yml deleted file mode 100644 index cb1a4226..00000000 --- a/.github/workflows/publish-linux-release.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Publish Linux Release (Manual) - -on: workflow_dispatch - -jobs: - publish: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [ubuntu-latest] - arch: ['--linux', '--arm64'] - - steps: - - name: Checkout git repo - uses: actions/checkout@v1 - - - name: Install Node and NPM - uses: actions/setup-node@v1 - with: - node-version: 16 - cache: npm - - - name: Install dependencies - run: | - npm install --legacy-peer-deps - - - name: Electron Builder Action - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - max_attempts: 3 - build_script_name: 'build' - release: true - args: ${{ matrix.arch }} diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml index ca7e66ca..d7172d30 100644 --- a/.github/workflows/publish-linux.yml +++ b/.github/workflows/publish-linux.yml @@ -1,4 +1,4 @@ -name: Publish Linux Draft (Manual) +name: Publish Linux (Manual) on: workflow_dispatch diff --git a/.github/workflows/publish-macos-release.yml b/.github/workflows/publish-macos-release.yml deleted file mode 100644 index 3bb6c686..00000000 --- a/.github/workflows/publish-macos-release.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Publish Windows and macOS Release (Manual) - -on: workflow_dispatch - -jobs: - publish: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [macos-latest] - - steps: - - name: Checkout git repo - uses: actions/checkout@v1 - - - name: Install Node and NPM - uses: actions/setup-node@v1 - with: - node-version: 16 - cache: npm - - - name: Install dependencies - run: | - npm install --legacy-peer-deps - - - name: Publish releases - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - EP_RELEASE: true - uses: nick-invision/retry@v2.8.2 - with: - timeout_minutes: 30 - max_attempts: 3 - retry_on: error - command: | - npm run postinstall - npm run build - npm exec electron-builder -- --publish always --win --mac - on_retry_command: npm cache clean --force diff --git a/.github/workflows/publish-macos.yml b/.github/workflows/publish-macos.yml index 4222f398..ede05887 100644 --- a/.github/workflows/publish-macos.yml +++ b/.github/workflows/publish-macos.yml @@ -1,4 +1,4 @@ -name: Publish Windows and macOS Draft (Manual) +name: Publish Windows and macOS (Manual) on: workflow_dispatch diff --git a/package.json b/package.json index 8ad79d01..6d350d1f 100644 --- a/package.json +++ b/package.json @@ -145,8 +145,7 @@ "publish": { "provider": "github", "owner": "jeffvli", - "repo": "feishin", - "releaseType": "release" + "repo": "feishin" } }, "repository": {