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

github.com/nextcloud/impersonate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-04-12 00:40:37 +0300
committerGitHub <noreply@github.com>2022-04-12 00:40:37 +0300
commitafdb73c128b76be02f3ee5a421ba22ded9083417 (patch)
treed9e819fe758c991adb6e6e61521f8d120d149369
parenta4d529edccae2045c9858890b238d2f5102fd18b (diff)
parentc729bdfbdb784e6ffae3a166fdacf66ddba2721c (diff)
Merge pull request #155 from nextcloud/feat/workflow-auto-update-appstore-build-publish.yml
Updating appstore-build-publish.yml workflow from template
-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