Skip to content

Commit 02558ca

Browse files
committed
CI
1 parent 9560fa3 commit 02558ca

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ubuntu-touch.yml

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

0 commit comments

Comments
 (0)