Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/event_update_notification.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-04-08 12:23:12 +0300
committerNextcloud bot <bot@nextcloud.com>2022-04-08 12:23:12 +0300
commitbdca409c52c26dfef9e4c60e7f2ba19572ba3d28 (patch)
treed8ce25bbdb9e90e9f8a2ec1920b31ccb6b415308
parent6245f1669d28d24bfaffb3b41506215d9ba25ba8 (diff)
Updating appstore-build-publish.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r--.github/workflows/appstore-build-publish.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml
index 178f7c0..fc04383 100644
--- a/.github/workflows/appstore-build-publish.yml
+++ b/.github/workflows/appstore-build-publish.yml
@@ -91,16 +91,29 @@ jobs:
npm ci
npm run build
+ - name: Check Krankerl config
+ id: krankerl
+ uses: andstor/file-existence-action@v1
+ with:
+ files: ${{ env.APP_NAME }}/krankerl.toml
+
- name: Install Krankerl
+ if: steps.krankerl.outputs.files_exists == 'true'
run: |
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl_0.13.0_amd64.deb
sudo dpkg -i krankerl_0.13.0_amd64.deb
- - name: Package ${{ env.APP_NAME }} ${{ env.APP_VERSION }}
- # Try krankerl, fallback to makefile
+ - name: Package ${{ env.APP_NAME }} ${{ env.APP_VERSION }} with krankerl
+ if: steps.krankerl.outputs.files_exists == 'true'
+ run: |
+ cd ${{ env.APP_NAME }}
+ krankerl package
+
+ - name: Package ${{ env.APP_NAME }} ${{ env.APP_VERSION }} with makefile
+ if: steps.krankerl.outputs.files_exists != 'true'
run: |
cd ${{ env.APP_NAME }}
- krankerl package || make appstore
+ make appstore
- name: Checkout server ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
continue-on-error: true