Skip to content

Commit

Permalink
fix: signing dependencies at deploy to Nextcloud app store
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jun 27, 2024
1 parent 789712b commit 4d2a740
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/appstore-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 4d2a740

Please sign in to comment.