Skip to content

Commit

Permalink
Fixed flatpak bundle name
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Logaev <[email protected]>
  • Loading branch information
mxlgv committed Apr 2, 2024
1 parent 583a381 commit 2935b5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,16 @@ jobs:
- run: build/plugins/omemo/test_omemo
build-flatpak:
runs-on: ubuntu-22.04
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- run: flatpak repair --user
- uses: flatpak/flatpak-github-actions/[email protected]
with:
manifest-path: im.dino.Dino.json
build-bundle: true
- name: Release Dino installer
if: ${{ github.ref_type == 'tag' }}
uses: svenstaro/[email protected]
- run: sudo apt-get update
- run: sudo apt-get install -y flatpak flatpak-builder
- run: ./build-flatpack.sh
- name: Upload Dino flatpak
uses: actions/upload-artifact@v4
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: app.flatpak
asset_name: app.flatpak
tag: ${{ github.ref }}
release_name: Dino ${{ github.ref_name }}
name: im.dino.Dino.flatpak
path: im.dino.Dino.flatpak
6 changes: 3 additions & 3 deletions build-flatpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ fatal()
get_flatpak_dependencies()
{
msg "Installing Flatpak dependencies..."
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gnome.Sdk//44
flatpak install flathub org.gnome.Platform//44
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y flathub org.gnome.Sdk//44
flatpak install --user -y flathub org.gnome.Platform//44
msg "Flatpak dependencies installed"
}

Expand Down

0 comments on commit 2935b5d

Please sign in to comment.