diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index aa8d7dc54..40ca89b90 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -144,16 +144,16 @@ jobs: - name: Sign app run: | # Extracting release - cd ${{ env.APP_NAME }}/build/artifacts + cd ${{ env.APP_NAME }}/build/artifacts/appstore tar -xvf ${{ env.APP_NAME }}.tar.gz cd ../../../ # Setting up keys echo '${{ secrets.APP_PRIVATE_KEY }}' > ${{ env.APP_NAME }}.key wget --quiet "https://github.com/nextcloud/app-certificate-requests/raw/master/${{ env.APP_NAME }}/${{ 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 }} + php nextcloud/occ integrity:sign-app --privateKey=../${{ env.APP_NAME }}.key --certificate=../${{ env.APP_NAME }}.crt --path=../${{ env.APP_NAME }}/build/artifacts/appstore/${{ env.APP_NAME }} # Rebuilding archive - cd ${{ env.APP_NAME }}/build/artifacts + cd ${{ env.APP_NAME }}/build/artifacts/appstore tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }} - name: Attach tarball to github release @@ -161,7 +161,7 @@ jobs: id: attach_to_release with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}.tar.gz + file: ${{ env.APP_NAME }}/build/artifacts/appstore/${{ env.APP_NAME }}.tar.gz asset_name: ${{ env.APP_NAME }}-${{ env.APP_VERSION }}.tar.gz tag: ${{ github.ref }} overwrite: true