Fixed flatpak bundle name

Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
Maxim Logaev 2024-04-02 19:17:31 +03:00
parent 583a381c74
commit 2935b5de1c
2 changed files with 10 additions and 19 deletions

View file

@ -28,25 +28,16 @@ jobs:
- run: build/plugins/omemo/test_omemo - run: build/plugins/omemo/test_omemo
build-flatpak: build-flatpak:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
submodules: true submodules: true
- run: flatpak repair --user - run: sudo apt-get update
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 - run: sudo apt-get install -y flatpak flatpak-builder
- run: ./build-flatpack.sh
- name: Upload Dino flatpak
uses: actions/upload-artifact@v4
with: with:
manifest-path: im.dino.Dino.json name: im.dino.Dino.flatpak
build-bundle: true path: im.dino.Dino.flatpak
- name: Release Dino installer
if: ${{ github.ref_type == 'tag' }}
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: app.flatpak
asset_name: app.flatpak
tag: ${{ github.ref }}
release_name: Dino ${{ github.ref_name }}

View file

@ -21,9 +21,9 @@ fatal()
get_flatpak_dependencies() get_flatpak_dependencies()
{ {
msg "Installing Flatpak dependencies..." msg "Installing Flatpak dependencies..."
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Sdk//44 flatpak install --user -y flathub org.gnome.Sdk//44
flatpak install flathub org.gnome.Platform//44 flatpak install --user -y flathub org.gnome.Platform//44
msg "Flatpak dependencies installed" msg "Flatpak dependencies installed"
} }