bemenu/.github/workflows/flatpak.yml

32 lines
1.1 KiB
YAML
Raw Normal View History

2021-07-07 15:28:13 +00:00
name: flatpak
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-20.08
options: --privileged
steps:
- uses: actions/checkout@v2
2022-02-08 11:31:58 +00:00
- name: Fixup the manifests (PR only)
if: github.event_name == 'pull_request'
run: |
sed -i 's|branch: master|branch: ${{ github.ref }}|' pw.cloudef.bemenu.yml
sed -i 's|branch: master|branch: ${{ github.ref }}|' pw.cloudef.bemenu-run.yml
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
2021-07-07 15:28:13 +00:00
with:
bundle: pw.cloudef.bemenu.flatpak
manifest-path: pw.cloudef.bemenu.yml
cache-key: flatpak-builder-bemenu-${{ github.sha }}
2022-02-08 11:31:58 +00:00
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
2021-07-07 15:28:13 +00:00
with:
bundle: pw.cloudef.bemenu-run.flatpak
manifest-path: pw.cloudef.bemenu-run.yml
cache-key: flatpak-builder-bemenu-run-${{ github.sha }}