Merge pull request #733 from Materialious/fix/electron-publish-github

Fix github publish
This commit is contained in:
Ward
2024-11-30 14:55:26 +13:00
committed by GitHub
2 changed files with 24 additions and 13 deletions
+8 -9
View File
@@ -1,10 +1,9 @@
name: Build Android
on:
push:
branches:
- 'main'
paths-ignore:
- '**/README.md'
workflow_run:
workflows: ["Build desktop"]
types:
- completed
permissions:
contents: write
@@ -67,8 +66,8 @@ jobs:
- name: Move files to release
run: |
mv app/build/outputs/*.aab app/release/
mv app/build/outputs/*.apk app/release/
mv app/build/outputs/*signed.aab app/release/
mv app/build/outputs/*signed.apk app/release/
- name: Delete temp apks
run: rm app/release/*temp*
@@ -87,8 +86,8 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./materialious/android/app/release/*
tag: v${{ steps.package-version.outputs.current-version }}
tag: ${{ steps.package-version.outputs.current-version }}
release_name: ${{ steps.package-version.outputs.current-version }}
overwrite: true
file_glob: true
draft: true
draft: false
@@ -34,7 +34,11 @@
},
"win": {
"publish": [
"github"
{
"provider": "github",
"vPrefixedTagName": false,
"releaseType": "release"
}
],
"target": [
{
@@ -62,14 +66,22 @@
},
"mac": {
"publish": [
"github"
{
"provider": "github",
"vPrefixedTagName": false,
"releaseType": "release"
}
],
"category": "Entertainment",
"target": "dmg"
},
"linux": {
"publish": [
"github"
{
"provider": "github",
"vPrefixedTagName": false,
"releaseType": "release"
}
],
"target": [
{
@@ -134,4 +146,4 @@
"libsecret-1-0"
]
}
}
}