Trying something...
This commit is contained in:
parent
6f5ac4e456
commit
df772ab177
49
.github/workflows/build-and-release.yml
vendored
Normal file
49
.github/workflows/build-and-release.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
publish_on_linux:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 14
|
||||||
|
- name: install dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: publish
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: npm run publish
|
||||||
|
|
||||||
|
publish_on_mac:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 14
|
||||||
|
- name: install dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: publish
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: npm run publish
|
||||||
|
|
||||||
|
publish_on_win:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 14
|
||||||
|
- name: install dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: publish
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: npm run publish
|
2034
package-lock.json
generated
2034
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -9,7 +9,7 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Tomarok/BTCV-Launcher/issues"
|
"url": "https://github.com/Tomarok/BTCV-Launcher/issues"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": false,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
@ -38,10 +38,26 @@
|
|||||||
"semver": "^7.4.0"
|
"semver": "^7.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@electron-forge/publisher-github": "^6.1.1",
|
||||||
"electron": "^24.1.1",
|
"electron": "^24.1.1",
|
||||||
"electron-builder": "^23.6.0",
|
"electron-builder": "^23.6.0",
|
||||||
"eslint": "^8.38.0"
|
"eslint": "^8.38.0"
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"forge": {
|
||||||
|
"publishers": [
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/publisher-github",
|
||||||
|
"config": {
|
||||||
|
"repository": {
|
||||||
|
"owner": "tomarok",
|
||||||
|
"name": "BTCV-Launcher"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/Tomarok/BTCV-Launcher.git"
|
"url": "git+https://github.com/Tomarok/BTCV-Launcher.git"
|
||||||
|
Loading…
Reference in New Issue
Block a user