mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
publish flatpak bundle on release
This commit is contained in:
parent
8972ca17e1
commit
28732fe34d
2 changed files with 30 additions and 0 deletions
29
.github/workflows/flatpak.yml
vendored
Normal file
29
.github/workflows/flatpak.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
name: Publish Flatpak on Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Flatpak
|
||||||
|
run: |
|
||||||
|
sudo apt install flatpak
|
||||||
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
- name: Build Flatpak Bundle
|
||||||
|
run: |
|
||||||
|
flatpak-builder --force-clean build --install-deps-from=flathub --repo=repo --user io.github.yggverse.Yoda.yaml
|
||||||
|
flatpak build-bundle repo Yoda.flatpak io.github.yggverse.Yoda
|
||||||
|
|
||||||
|
- name: Upload Flatpak Bundle
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Yoda.flatpak
|
||||||
|
path: Yoda.flatpak
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
||||||
*flatpak*
|
*flatpak*
|
||||||
|
!flatpak.yml
|
||||||
build
|
build
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
repo
|
repo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue