Skip to content

Merge pull request #3 from Sensirion/TheCI #4

Merge pull request #3 from Sensirion/TheCI

Merge pull request #3 from Sensirion/TheCI #4

Workflow file for this run

name: PIO Lib
on:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
PlatformIO-Check:
uses: sensirion/.github/.github/workflows/platformio_check.yml@main
with:
pio-environment-list: '["GetLiveValues"]'
PlatformIO-Build:
uses: sensirion/.github/.github/workflows/platformio_build.yml@main
needs: PlatformIO-Check
with:
pio-environment-list: '["GetLiveValues"]'
PlatformIO-Package:
if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'main') }}
needs: PlatformIO-Build
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
with:
should-publish: false
PlatformIO-Publish:
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
if: github.ref_type == 'tag'
needs: PlatformIO-Build
with:
should-publish: true
secrets:
pio-registry-token: ${{ secrets.PIO_MKTSW_TOKEN }}