@@ -49,50 +49,50 @@ jobs:
4949 - name : Package app
5050 run : krankerl package
5151
52- - name : Get nextcloud-min-version from appinfo
53- id : appinfo
54- uses : skjnldsv/xpath-action@master
55- with :
56- filename : ${{ env.APP_NAME }}/appinfo/info.xml
57- expression : " //info//dependencies//nextcloud/@min-version"
52+ # - name: Get nextcloud-min-version from appinfo
53+ # id: appinfo
54+ # uses: skjnldsv/xpath-action@master
55+ # with:
56+ # filename: ${{ env.APP_NAME }}/appinfo/info.xml
57+ # expression: "//info//dependencies//nextcloud/@min-version"
5858
59- - name : Cache nextcloud server
60- id : nextcloud_setup
61- uses : actions/cache@v3
62- with :
63- path : nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
64- key : ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
59+ # - name: Cache nextcloud server
60+ # id: nextcloud_setup
61+ # uses: actions/cache@v3
62+ # with:
63+ # path: nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
64+ # key: ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
6565
66- - name : Download nextcloud${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
67- if : steps.nextcloud_setup.outputs.cache-hit != 'true'
68- continue-on-error : true
69- id : server-checkout
70- run : |
71- NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72- wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
73- unzip latest-$NCVERSION.zip
66+ # - name: Download nextcloud${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
67+ # if: steps.nextcloud_setup.outputs.cache-hit != 'true'
68+ # continue-on-error: true
69+ # id: server-checkout
70+ # run: |
71+ # NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72+ # wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
73+ # unzip latest-$NCVERSION.zip
7474
75- - name : Checkout server master fallback
76- uses : actions/checkout@v3
77- if : ${{ steps.server-checkout.outcome != 'success' }}
78- with :
79- repository : nextcloud/server
80- path : nextcloud
75+ # - name: Checkout server master fallback
76+ # uses: actions/checkout@v3
77+ # if: ${{ steps.server-checkout.outcome != 'success' }}
78+ # with:
79+ # repository: nextcloud/server
80+ # path: nextcloud
8181
82- - name : Sign app
83- run : |
84- # Extracting release
85- cd ${{ env.APP_NAME }}/build/artifacts
86- tar -xvf ${{ env.APP_NAME }}.tar.gz
87- cd ../../../
88- # Setting up keys
89- echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
90- echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
91- # Signing
92- 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 }}
93- # Rebuilding archive
94- cd ${{ env.APP_NAME }}/build/artifacts
95- tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
82+ # - name: Sign app
83+ # run: |
84+ # # Extracting release
85+ # cd ${{ env.APP_NAME }}/build/artifacts
86+ # tar -xvf ${{ env.APP_NAME }}.tar.gz
87+ # cd ../../../
88+ # # Setting up keys
89+ # echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
90+ # echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
91+ # # Signing
92+ # 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 }}
93+ # # Rebuilding archive
94+ # cd ${{ env.APP_NAME }}/build/artifacts
95+ # tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
9696
9797 - name : Create release draft
9898
0 commit comments