diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-04-27 11:57:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 11:57:11 +0300 |
commit | 2f7d105b963d0f8e055c7099a5835d56127e1987 (patch) | |
tree | 4585ce7d2d8af3df5a000dc5cc8c821540c1576d | |
parent | b7c7afad20b3294c9e9cd0532294bbb885cb7c88 (diff) | |
parent | 85c4845dd524584945198454481983085824e8c0 (diff) |
Merge pull request #166 from nextcloud/backport/165/stable24v1.13.0
[stable24] Update appstore-build-publish.yml
-rw-r--r-- | .github/workflows/appstore-build-publish.yml | 19 |
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 |