summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2021-03-05 13:00:57 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2021-03-05 13:00:57 +0100
commit7e4b547b0d4daffbd037256fc13b5cf9165e3dc6 (patch)
treeaea6d6bb5f9d4b48efa4ab1f1c7846aec44c1e98
parent4538ab83512426eb35957c7f0221dde9898c1405 (diff)
pin all actions, delete crt and keyrelease/workflow_version
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--.github/workflows/build-release.yml14
1 files 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 }}