Skip to content

Added publish workflow #1

Added publish workflow

Added publish workflow #1

name: PIO Lib
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
PlatformIO-Check:
uses: ./.github/workflows/platformio_check_template.yml
with:
pio-environment-list: '["esp32dev"]'
PlatformIO-Build:
uses: ./.github/workflows/platformio_build_template.yml
needs: PlatformIO-Check
with:
pio-environment-list: '["esp32dev"]'
PlatformIO-Package:
if: github.ref_type != 'tag'
needs: PlatformIO-Build
uses: ./.github/workflows/platformio_publish_template.yml

Check failure on line 28 in .github/workflows/platformio_workflow.yml

View workflow run for this annotation

GitHub Actions / PIO Lib

Invalid workflow file

The workflow is not valid. .github/workflows/platformio_workflow.yml (Line: 28, Col: 15): Secret pio-registry-token is required, but not provided while calling.
with:
should-publish: false
PlatformIO-Publish:
uses: ./.github/workflows/platformio_publish_template.yml
if: github.ref_type == 'tag'
needs: PlatformIO-Build
with:
should-publish: true
secrets:
pio-registry-token: ${{ secrets.PIO_MKTSW_TOKEN }}