ci: fix snapcraft build process

This commit is contained in:
josselinonduty 2025-05-30 20:22:24 +09:00 committed by GitHub
parent 6d86d581b4
commit e9da7c98ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -17,8 +17,7 @@ jobs:
node-version: 22 node-version: 22
- name: prepare runner - name: prepare runner
run: | run: |
sudo apt-get update sudo snap install snapcraft --classic
sudo apt-get install -y p7zip p7zip-full make wget snap rpm
- name: install_deps - name: install_deps
run: make install_deps run: make install_deps

View File

@ -62,6 +62,12 @@
}, },
"snap": { "snap": {
"artifactName": "${productName}_${version}_${arch}.${ext}", "artifactName": "${productName}_${version}_${arch}.${ext}",
"publish": [
{
"provider": "generic",
"url": "https://null/"
}
],
"base": "core22", "base": "core22",
"grade": "stable", "grade": "stable",
"confinement": "classic", "confinement": "classic",