Skip to content

Commit

Permalink
added workflows to test the latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh authored and hsbasu committed Feb 3, 2024
1 parent 7778925 commit be30e49
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Flatpak
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/[email protected]
with:
bundle: io.github.amit9838.weather.flatpak
manifest-path: io.github.amit9838.weather.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
restore-cache: true
27 changes: 27 additions & 0 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Snap
permissions:
id-token: write
contents: read
jobs:
gnome-snap:
name: "Snap"
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Build Test Mousam Snap
uses: snapcore/action-build@v1
id: snapcraft-build
with:
snapcraft-args: "-v"
- uses: actions/upload-artifact@v4
with:
name: mousam-snap
path: ${{ steps.snapcraft-build.outputs.snap }}

0 comments on commit be30e49

Please sign in to comment.