One job per component to deploy
@@ -3,23 +3,14 @@ name: Upload platformio library
on:
push:
tags:
- - '*'
+ - "*"
workflow_dispatch:
- description: 'manual upload'
jobs:
- deploy:
+ deploy_engine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Set up Python
- uses: actions/setup-python@v1
- with:
- python-version: '3.x'
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install platformio
- name: publish luos engine
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
@@ -27,8 +18,19 @@ jobs:
# ***** Luos engine publication *****
pio package pack
pio package publish --owner luos --non-interactive
- continue-on-error: true
+ deploy_gate:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: "3.x"
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install platformio
- name: publish gate tool
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
@@ -86,7 +88,18 @@ jobs:
pio package publish --owner luos --non-interactive
cd ../..
-
+ deploy_inspector:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: "3.x"
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install platformio
- name: publish inspector tool
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
