lets see if this works
This commit is contained in:
parent
22109337f2
commit
8a9a1259e8
2 changed files with 38 additions and 1 deletions
36
.github/workflows/release-all.yml
vendored
Normal file
36
.github/workflows/release-all.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
name: Build/release
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- create-tag:
|
||||
uses: rickstaa/action-create-tag@v1
|
||||
with:
|
||||
tag: "canary-${{ github.sha }}"
|
||||
message: "https://github.com/ciderapp/Cider/commit/${{ github.sha }}"
|
||||
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10
|
||||
|
||||
- name: Build/release Electron app
|
||||
uses: samuelmeuli/action-electron-builder@v1
|
||||
with:
|
||||
# GitHub token, automatically provided to the action
|
||||
# (No need to define this secret in the repo settings)
|
||||
github_token: ${{ secrets.github_token }}
|
||||
|
||||
# release the app after building
|
||||
release: true
|
|
@ -5,7 +5,7 @@
|
|||
"version": "1.1.0",
|
||||
"description": "A new look into listening and enjoying music in style and performance.",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "./build/index.js",
|
||||
"main": "./src/main/index.ts",
|
||||
"author": "Cider Collective <cryptofyre@cider.sh> (https://cider.sh)",
|
||||
"repository": "https://github.com/ciderapp/Cider.git",
|
||||
"bugs": {
|
||||
|
@ -22,6 +22,7 @@
|
|||
"start:darwin": "npm run build && export ELECTRON_ENABLE_LOGGING=true && electron ./build/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "npm run build && electron-builder",
|
||||
"dist:all": "npm run build && electron-builder -mwl",
|
||||
"msft": "npm run build && electron-builder -c msft-package.json",
|
||||
"postinstall": "electron-builder install-app-deps"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue