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