Skip to content

Commit

Permalink
Add auto release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngraziano committed Oct 31, 2020
1 parent ebd211f commit 0099c06
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/realease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PlatformIO CI

on:
release:
types: [released]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Release
env: # Or as an environment variable
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
run: platformio package publish

0 comments on commit 0099c06

Please sign in to comment.