Reformat github yaml
parent
00a5230c9f
commit
0a6749f71b
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue