From 7e4b547b0d4daffbd037256fc13b5cf9165e3dc6 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Fri, 5 Mar 2021 13:00:57 +0100 Subject: pin all actions, delete crt and key Signed-off-by: Benjamin Brahmer --- .github/workflows/build-release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 28288165f..7243d661a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -19,17 +19,17 @@ jobs: database: ['sqlite'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Setup PHP - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@afefcaf556d98dc7896cca380e181decb609ca44 with: php-version: ${{ matrix.php-versions }} extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip coverage: none - name: Set up server non MySQL - uses: SMillerDev/nextcloud-actions/setup-nextcloud@main + uses: SMillerDev/nextcloud-actions/setup-nextcloud@fae87e29aa7cdf1ea0b8033c67f60e75b10be2cd with: cron: false version: ${{ matrix.nextcloud }} @@ -39,19 +39,21 @@ jobs: run: make - name: Configure server with app - uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main + uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@fae87e29aa7cdf1ea0b8033c67f60e75b10be2cd with: app: ${{ env.APP_NAME }} check-code: false - name: Create signed release archive - run: cd ../server/apps/${{ env.APP_NAME }} && make appstore + run: | + cd ../server/apps/${{ env.APP_NAME }} && make appstore + rm -f ~/.nextcloud/certificates/* env: app_private_key: ${{ secrets.APP_PRIVATE_KEY }} app_public_crt: ${{ secrets.APP_PUBLIC_CRT }} - name: Upload app tarball to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2 id: attach_to_release with: repo_token: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3