From 13699eb5bbf5f2fcb5ec7d979cb51dbf03396bb5 Mon Sep 17 00:00:00 2001 From: mateosalta Date: Wed, 16 Feb 2022 21:22:20 -0600 Subject: [PATCH] add publish step --- .github/workflows/clickable.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/clickable.yml b/.github/workflows/clickable.yml index b23d430..0c248bf 100644 --- a/.github/workflows/clickable.yml +++ b/.github/workflows/clickable.yml @@ -57,3 +57,9 @@ jobs: name: "ubports-${{ matrix.arch }}--click" path: "build/*/app/*.click" if-no-files-found: ignore + - name: Publish to Open Store + if: startsWith( github.ref, 'refs/tags/') + env: + ARCH: ${{ matrix.arch }} + OPENSTORE_KEY: ${{ secrets.OPENSTORE_KEY }} + run: ~/.local/bin/clickable publish "* $(git log -1 --pretty=%B | head -1)" --apikey ${OPENSTORE_KEY} --config clickable.json --arch ${ARCH}