fix: use Gtk.ToggleButton.toggled for setting unit, fixes #179 (#194) #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "master" ] | |
types: [ "review_requested", "ready_for_review" ] | |
workflow_dispatch: | |
name: Test Flatpak packaging | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
gnome-flatpak: | |
name: "Flatpak" | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login != 'weblate' }} | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-45 | |
options: --privileged | |
strategy: | |
matrix: | |
arch: [x86_64] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3 | |
with: | |
bundle: io.github.amit9838.mousam.flatpak | |
manifest-path: io.github.amit9838.mousam.json | |
cache-key: flatpak-builder-${{ github.sha }} | |
arch: ${{ matrix.arch }} | |
restore-cache: true |