Skip to content

Commit 8c8b417

Browse files
committed
CI
1 parent 9560fa3 commit 8c8b417

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ubuntu-touch.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Build for Ubuntu Touch"
2+
on: [push,pull_request]
3+
jobs:
4+
ubuntu-touch:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
arch: [armhf, arm64, amd64]
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
submodules: 'recursive'
16+
- name: avoid git submodule update step in clickable.yaml
17+
run: sed 's/prebuild/#prebuild/' -i clickable.yaml
18+
- name: build package
19+
uses: tuxecure/clickable@v1
20+
with:
21+
image: clickable/ci-20.04-${{ matrix.arch }}
22+
run: clickable build --skip-review
23+
- name: Upload .click package
24+
uses: actions/upload-artifact@v3.1.1
25+
with:
26+
path: build/*/app/*.click
27+
- name: Publish to Open Store
28+
if: startsWith( github.ref, 'refs/tags/')
29+
env:
30+
OPENSTORE_KEY: ${{ secrets.OPENSTORE_KEY }}
31+
run: clickable publish "* $(git log -1 --pretty=%B | head -1)" --apikey ${OPENSTORE_KEY}

0 commit comments

Comments
 (0)