Skip to content

Commit 22a305d

Browse files
committed
CI
1 parent a162499 commit 22a305d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ubuntu-touch.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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@v2 # Required to mount the Github Workspace to a volume
12+
- name: build package
13+
uses: tuxecure/clickable@v1
14+
with:
15+
image: clickable/ci-20.04-${{ matrix.arch }}
16+
run: clickable build --skip-review
17+
- name: Upload .click package
18+
uses: actions/[email protected]
19+
with:
20+
path: build/*/app/*.click
21+
- name: Publish to Open Store
22+
if: startsWith( github.ref, 'refs/tags/')
23+
env:
24+
OPENSTORE_KEY: ${{ secrets.OPENSTORE_KEY }}
25+
run: clickable publish "* $(git log -1 --pretty=%B | head -1)" --apikey ${OPENSTORE_KEY}

0 commit comments

Comments
 (0)