Create m5atom-matrix.yml
This commit is contained in:
parent
22de5f91e0
commit
c55e939f46
|
@ -1,5 +1,4 @@
|
||||||
name: Remote run m5atom-matrix
|
name: Remote run m5atom-matrix
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -9,11 +8,6 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
env:
|
|
||||||
PIO_USERNAME: ""
|
|
||||||
PIO_PASSWORD: ""
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -43,6 +37,6 @@ jobs:
|
||||||
run: echo "PLATFORMIO_BUILD_FLAGS=-DVERSION='\"${GITHUB_REF#refs/*/}\"'" >> $GITHUB_ENV
|
run: echo "PLATFORMIO_BUILD_FLAGS=-DVERSION='\"${GITHUB_REF#refs/*/}\"'" >> $GITHUB_ENV
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio account login --username="$PIO_USERNAME" --password="$PIO_PASSWORD"
|
run: pio account login --username="${secrets.PIO_USERNAME}" --password="${secrets.PIO_PASSWORD}"
|
||||||
- name: Run PlatformIO
|
- name: Run PlatformIO
|
||||||
run: pio remote run -e m5atom-matrix
|
run: pio remote run -e m5atom-matrix
|
||||||
|
|
Loading…
Reference in New Issue