From 4d2a740dd204269fadd4e26fcbc6c790cdd72b82 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Wed, 26 Jun 2024 12:54:02 -0300 Subject: [PATCH] fix: signing dependencies at deploy to Nextcloud app store Signed-off-by: Vitor Mattos --- .github/workflows/appstore-build-publish.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index b9ea30a140..7c80f3891d 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -20,10 +20,10 @@ jobs: # if: ${{ github.repository_owner == 'nextcloud-releases' }} steps: - # - name: Check actor permission - # uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0 - # with: - # require: write + - name: Check actor permission + uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0 + with: + require: write - name: Set app env run: | @@ -169,6 +169,9 @@ jobs: php nextcloud/occ libresign:install --all --architecture aarch64 php nextcloud/occ libresign:install --all --architecture x86_64 php nextcloud/occ config:system:set debug --value true --type boolean + echo "sleep 10 seconds..." + sleep 10 + echo "end sleep" php nextcloud/occ libresign:developer:sign-setup --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt # Signing php nextcloud/occ integrity:sign-app --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt --path=../${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}