File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,24 +168,24 @@ jobs:
168168 - name : Sign app
169169 run : |
170170 # Extracting release
171- cd ${{ env.APP_NAME }}/build/artifacts
171+ cd ${{ env.APP_NAME }}/build/artifacts/appstore
172172 tar -xvf ${{ env.APP_NAME }}.tar.gz
173- cd ../../../
173+ cd ../../../../
174174 # Setting up keys
175175 echo '${{ secrets.APP_PRIVATE_KEY }}' > ${{ env.APP_NAME }}.key
176176 wget --quiet "https://github.com/nextcloud/app-certificate-requests/raw/master/${{ env.APP_NAME }}/${{ env.APP_NAME }}.crt"
177177 # Signing
178- 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 }}
178+ 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 }}
179179 # Rebuilding archive
180- cd ${{ env.APP_NAME }}/build/artifacts
180+ cd ${{ env.APP_NAME }}/build/artifacts/appstore
181181 tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
182182
183183 - name : Attach tarball to github release
184184 uses : svenstaro/upload-release-action@6b7fa9f267e90b50a19fef07b3596790bb941741 # v2.11.3
185185 id : attach_to_release
186186 with :
187187 repo_token : ${{ secrets.GITHUB_TOKEN }}
188- file : ${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}.tar.gz
188+ file : ${{ env.APP_NAME }}/build/artifacts/appstore/ ${{ env.APP_NAME }}.tar.gz
189189 asset_name : ${{ env.APP_NAME }}-${{ env.APP_VERSION }}.tar.gz
190190 tag : ${{ github.ref }}
191191 overwrite : true
You can’t perform that action at this time.
0 commit comments