1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

fixing workflow version tags for:

"##[warning]Input 'version' has been deprecated with message: The version input will not be supported after May 30, 2020. Use buildx-version instead"
This commit is contained in:
Patrik J. Braun 2020-09-06 14:58:02 +02:00
parent 6f4d1a071b
commit 373b13f53d

View File

@ -10,11 +10,11 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
services:
mariadb:
image: mariadb:latest
@ -34,15 +34,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Verify MariaDB connection
env:
PORT: ${{ job.services.mariadb.ports[3306] }}
run: |
while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
sleep 1
done
done
- name: npm install, build, and test
run: |
npm ci
@ -55,7 +55,7 @@ jobs:
MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }}
PORT: 35000
CI: true
create-release:
runs-on: [ubuntu-latest]
needs: [test]
@ -98,7 +98,7 @@ jobs:
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
version: latest
buildx-version: latest
-
name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
@ -154,7 +154,7 @@ jobs:
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
version: latest
buildx-version: latest
-
name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}