Add snap publish step

This commit is contained in:
WardPearce
2024-10-29 21:25:02 +13:00
parent 7abde6b429
commit cf3c338645
8 changed files with 21 additions and 9 deletions
-1
View File
@@ -5,7 +5,6 @@ on:
- 'main'
paths-ignore:
- '**/README.md'
- 'flatpak/**'
permissions:
contents: write
+10 -2
View File
@@ -5,7 +5,6 @@ on:
branches: [ main ]
paths-ignore:
- '**/README.md'
- 'flatpak/**'
workflow_dispatch:
@@ -66,4 +65,13 @@ jobs:
if: runner.os == 'Windows'
- name: Build desktop packages
run: cd ./materialious/electron && npm run electron:make
run: cd ./materialious/electron && npm run electron:make
- name: Upload Snap to Snapcraft
if: matrix.runtime == 'linux-x64'
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
with:
snap: ./materialious/electron/dist/*.snap
release: stable
-1
View File
@@ -6,7 +6,6 @@ on:
- main
paths-ignore:
- '**/README.md'
- 'flatpak/**'
jobs:
web-build:
+2 -2
View File
@@ -7,8 +7,8 @@ android {
applicationId "us.materialio.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 69
versionName "1.6.18"
versionCode 70
versionName "1.6.19"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -96,6 +96,12 @@
"x64",
"arm64"
]
},
{
"target": "snap",
"arch": [
"x64"
]
}
],
"category": "AudioVideo"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Materialious",
"version": "1.6.18",
"version": "1.6.19",
"description": "Modern material design for Invidious.",
"author": {
"name": "Ward Pearce",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "materialious",
"version": "1.6.18",
"version": "1.6.19",
"private": true,
"scripts": {
"dev": "vite dev",
+1 -1
View File
@@ -5,7 +5,7 @@ import json
import os
import re
LATEST_VERSION = "1.6.18"
LATEST_VERSION = "1.6.19"
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")
ROOT_PACKAGE = os.path.join(WORKING_DIR, "package.json")