Reformat github yaml

pull/162/head
Varun Patil 2022-10-29 16:11:29 -07:00
parent 00a5230c9f
commit 0a6749f71b
3 changed files with 34 additions and 36 deletions

View File

@ -40,8 +40,8 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['7.4'] php-versions: ["7.4"]
server-versions: ['stable25'] server-versions: ["stable25"]
services: services:
mysql: mysql:
@ -100,7 +100,6 @@ jobs:
name: report-mysql-${{ matrix.php-versions }}-${{ matrix.server-versions }} name: report-mysql-${{ matrix.php-versions }}-${{ matrix.server-versions }}
path: apps/${{ env.APP_NAME }}/playwright-report path: apps/${{ env.APP_NAME }}/playwright-report
pgsql: pgsql:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: vue needs: vue
@ -109,8 +108,8 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['7.4'] php-versions: ["7.4"]
server-versions: ['stable25'] server-versions: ["stable25"]
services: services:
postgres: postgres:
@ -181,8 +180,8 @@ jobs:
# do not stop on another job's failure # do not stop on another job's failure
fail-fast: false fail-fast: false
matrix: matrix:
php-versions: ['7.4'] php-versions: ["7.4"]
server-versions: ['stable25'] server-versions: ["stable25"]
steps: steps:
- name: Checkout server - name: Checkout server
@ -231,4 +230,3 @@ jobs:
with: with:
name: report-sqlite-${{ matrix.php-versions }}-${{ matrix.server-versions }} name: report-sqlite-${{ matrix.php-versions }}-${{ matrix.server-versions }}
path: apps/${{ env.APP_NAME }}/playwright-report path: apps/${{ env.APP_NAME }}/playwright-report

View File

@ -25,4 +25,4 @@ jobs:
- name: PHP-CS-Fixer - name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga uses: docker://oskarstark/php-cs-fixer-ga
with: with:
args: --dry-run --diff lib args: --dry-run --diff lib

View File

@ -13,34 +13,34 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
- name: Build - name: Build
run: | run: |
make dev-setup make dev-setup
make build-js-production make build-js-production
./scripts/bundle.sh ./scripts/bundle.sh
- name: Upload app tarball to release - name: Upload app tarball to release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
id: attach_to_release id: attach_to_release
with: with:
file: memories.tar.gz file: memories.tar.gz
asset_name: memories.tar.gz asset_name: memories.tar.gz
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true
- name: Upload app to Nextcloud appstore - name: Upload app to Nextcloud appstore
uses: R0Wi/nextcloud-appstore-push-action@v1 uses: R0Wi/nextcloud-appstore-push-action@v1
with: with:
app_name: ${{ env.APP_NAME }} app_name: ${{ env.APP_NAME }}
appstore_token: ${{ secrets.APPSTORE_TOKEN }} appstore_token: ${{ secrets.APPSTORE_TOKEN }}
download_url: ${{ steps.attach_to_release.outputs.browser_download_url }} download_url: ${{ steps.attach_to_release.outputs.browser_download_url }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }} app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
nightly: ${{ github.event.release.prerelease }} nightly: ${{ github.event.release.prerelease }}