refactor: update plugin to latest API #30
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
name: Continuous Integration | |
on: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
flatpak: | |
name: Test Build | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/andyholmes/flatter/gnome:46 | |
options: --privileged | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup GPG | |
id: gpg | |
uses: crazy-max/ghaction-import-gpg@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
- name: Setup Flatpak | |
run: | | |
flatpak remote-add --if-not-exists \ | |
valent https://valent.andyholmes.ca/valent.flatpakrepo | |
- name: Build | |
uses: andyholmes/flatter@main | |
with: | |
files: | | |
ca.andyholmes.Valent.Plugin.example.json | |
gpg-sign: ${{ steps.gpg.outputs.fingerprint }} | |
flatpak-build-bundle-args: | | |
--runtime | |
upload-bundles: true |