Updated build

This commit is contained in:
WardPearce
2024-05-06 18:54:57 +12:00
parent 41a40d76be
commit d859c20805
3 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -78,5 +78,5 @@ jobs:
body: ${{ steps.changelog.outputs.changelog }}
file: ./materialious/android/app/release/*
tag: ${{ github.ref }}
overwrite: true
overwrite: false
file_glob: true
+10 -9
View File
@@ -60,12 +60,13 @@ jobs:
run: cd ./materialious/electron && npm install
- name: Build desktop packages
run: |
cd ./materialious/electron
if [[ "$RUNNER_OS" == "Windows" ]]; then
$env:GH_TOKEN = "${{ secrets.GITHUB_TOKEN }}"
npm run electron:make
else
export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
npm run electron:make
fi
run: cd ./materialious/electron && npm run electron:make
- name: Upload builds to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./materialious/electron/dist/Materialious*
tag: ${{ github.ref }}
overwrite: false
file_glob: true
@@ -10,9 +10,6 @@
"capacitor.config.*",
"app/**/*"
],
"publish": {
"provider": "github"
},
"nsis": {
"allowElevation": true,
"oneClick": false,