Reverse workflow changes
This commit is contained in:
parent
21cd657f0c
commit
2f28cb07bc
5 changed files with 3 additions and 79 deletions
35
.github/workflows/publish-linux-release.yml
vendored
35
.github/workflows/publish-linux-release.yml
vendored
|
@ -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 }}
|
|
2
.github/workflows/publish-linux.yml
vendored
2
.github/workflows/publish-linux.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Publish Linux Draft (Manual)
|
name: Publish Linux (Manual)
|
||||||
|
|
||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
|
40
.github/workflows/publish-macos-release.yml
vendored
40
.github/workflows/publish-macos-release.yml
vendored
|
@ -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
|
|
2
.github/workflows/publish-macos.yml
vendored
2
.github/workflows/publish-macos.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Publish Windows and macOS Draft (Manual)
|
name: Publish Windows and macOS (Manual)
|
||||||
|
|
||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
|
|
@ -145,8 +145,7 @@
|
||||||
"publish": {
|
"publish": {
|
||||||
"provider": "github",
|
"provider": "github",
|
||||||
"owner": "jeffvli",
|
"owner": "jeffvli",
|
||||||
"repo": "feishin",
|
"repo": "feishin"
|
||||||
"releaseType": "release"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Reference in a new issue