Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit 037c177

Browse files
committed
Temporal removal of app signing
1 parent c137af8 commit 037c177

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

.github/workflows/create-release-draft.yml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -56,50 +56,50 @@ jobs:
5656
- name: Package app
5757
run: krankerl package
5858

59-
- name: Get nextcloud-min-version from appinfo
60-
id: appinfo
61-
uses: skjnldsv/xpath-action@master
62-
with:
63-
filename: ${{ env.APP_NAME }}/appinfo/info.xml
64-
expression: "//info//dependencies//nextcloud/@min-version"
65-
66-
- name: Cache nextcloud server
67-
id: nextcloud_setup
68-
uses: actions/cache@v3
69-
with:
70-
path: nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
71-
key: ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72-
73-
- name: Download nextcloud ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
74-
if: steps.nextcloud_setup.outputs.cache-hit != 'true'
75-
continue-on-error: true
76-
id: server-checkout
77-
run: |
78-
NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
79-
wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
80-
unzip latest-$NCVERSION.zip
81-
82-
- name: Checkout server master fallback
83-
uses: actions/checkout@v3
84-
if: ${{ steps.server-checkout.outcome != 'success' }}
85-
with:
86-
repository: nextcloud/server
87-
path: nextcloud
88-
89-
- name: Sign app
90-
run: |
91-
# Extracting release
92-
cd ${{ env.APP_NAME }}/build/artifacts
93-
tar -xvf ${{ env.APP_NAME }}.tar.gz
94-
cd ../../../
95-
# Setting up keys
96-
echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
97-
echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
98-
# Signing
99-
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 }}
100-
# Rebuilding archive
101-
cd ${{ env.APP_NAME }}/build/artifacts
102-
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
59+
# - name: Get nextcloud-min-version from appinfo
60+
# id: appinfo
61+
# uses: skjnldsv/xpath-action@master
62+
# with:
63+
# filename: ${{ env.APP_NAME }}/appinfo/info.xml
64+
# expression: "//info//dependencies//nextcloud/@min-version"
65+
66+
# - name: Cache nextcloud server
67+
# id: nextcloud_setup
68+
# uses: actions/cache@v3
69+
# with:
70+
# path: nextcloud-${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}.zip
71+
# key: ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
72+
73+
# - name: Download nextcloud ${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
74+
# if: steps.nextcloud_setup.outputs.cache-hit != 'true'
75+
# continue-on-error: true
76+
# id: server-checkout
77+
# run: |
78+
# NCVERSION=${{ fromJSON(steps.appinfo.outputs.result).nextcloud.min-version }}
79+
# wget --quiet https://download.nextcloud.com/server/releases/latest-$NCVERSION.zip
80+
# unzip latest-$NCVERSION.zip
81+
82+
# - name: Checkout server master fallback
83+
# uses: actions/checkout@v3
84+
# if: ${{ steps.server-checkout.outcome != 'success' }}
85+
# with:
86+
# repository: nextcloud/server
87+
# path: nextcloud
88+
89+
# - name: Sign app
90+
# run: |
91+
# # Extracting release
92+
# cd ${{ env.APP_NAME }}/build/artifacts
93+
# tar -xvf ${{ env.APP_NAME }}.tar.gz
94+
# cd ../../../
95+
# # Setting up keys
96+
# echo "${{ secrets.APP_PRIVATE_KEY }}" > ${{ env.APP_NAME }}.key
97+
# echo "${{ secrets.APP_PUBLIC_CRT }}" > ${{ env.APP_NAME.key }}
98+
# # Signing
99+
# 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 }}
100+
# # Rebuilding archive
101+
# cd ${{ env.APP_NAME }}/build/artifacts
102+
# tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
103103

104104
- name: Create release draft
105105
uses: ncipollo/[email protected]

0 commit comments

Comments
 (0)