Cleaned up workflows
This commit is contained in:
1 parent
92b6d04051
commit
c7cebb4f0e
2 files changed
+3
-10
No files matched your search
@@ -33,7 +33,7 @@ jobs:
|
||||
# GitHub token, automatically provided to the action
|
||||
# (No need to define this secret in the repo settings)
|
||||
github_token: ${{ secrets.github_token }}
|
||||
args: "-c build/electron-builder.json"
|
||||
args: "-c.extraMetadata.main=electron-wrapper.js -c build/electron-builder.json"
|
||||
|
||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
||||
# release the app after building
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
id: version
|
||||
uses: nyaa8/package-version@v1
|
||||
with:
|
||||
path: './package.json' # Optional
|
||||
path: './package.json'
|
||||
|
||||
- name: Create nightly release
|
||||
id: create_release
|
||||
@@ -60,14 +60,7 @@ jobs:
|
||||
id: version
|
||||
uses: nyaa8/package-version@v1
|
||||
with:
|
||||
path: './package.json' # Optional
|
||||
|
||||
#- name: Update package.json version
|
||||
# uses: jossef/action-set-json-field@v1
|
||||
# with:
|
||||
# file: package.json
|
||||
# field: version
|
||||
# value: ${{ env.PACKAGE_VERSION }}.${{ steps.date.outputs.date }}
|
||||
path: './package.json'
|
||||
|
||||
- name: Build/release Electron app
|
||||
#env:
|
||||
|
||||
Reference in new issue
Block a user