Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed Jan 2, 2025
1 parent 9560fa3 commit 8c8b417
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ubuntu-touch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Build for Ubuntu Touch"
on: [push,pull_request]
jobs:
ubuntu-touch:
strategy:
fail-fast: false
matrix:
arch: [armhf, arm64, amd64]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: avoid git submodule update step in clickable.yaml
run: sed 's/prebuild/#prebuild/' -i clickable.yaml
- name: build package
uses: tuxecure/clickable@v1
with:
image: clickable/ci-20.04-${{ matrix.arch }}
run: clickable build --skip-review
- name: Upload .click package
uses: actions/[email protected]
with:
path: build/*/app/*.click
- name: Publish to Open Store
if: startsWith( github.ref, 'refs/tags/')
env:
OPENSTORE_KEY: ${{ secrets.OPENSTORE_KEY }}
run: clickable publish "* $(git log -1 --pretty=%B | head -1)" --apikey ${OPENSTORE_KEY}

0 comments on commit 8c8b417

Please sign in to comment.