File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,12 @@ jobs:
2222 with :
2323 pio-environment-list : ' ["basicUsage", "infoPage"]'
2424
25- PlatformIO-Package :
26- if : ${{ (github.ref_type != 'tag') && (github.ref_name == 'master') }}
25+ PlatformIO-PackageAndPublish :
26+ name : PIO - Package and Publish on Tag
27+ if : ${{ (github.ref_type == 'tag') || (github.ref_name == 'main') }}
2728 needs : PlatformIO-Build
2829 uses : sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
2930 with :
30- should-publish : false
31-
32- PlatformIO-Publish :
33- uses : sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
34- if : github.ref_type == 'tag'
35- needs : PlatformIO-Build
36- with :
37- should-publish : true
31+ should-publish : ${{ github.ref_type == 'tag' }}
3832 secrets :
3933 pio-registry-token : ${{ secrets.PIO_MKTSW_TOKEN }}
You can’t perform that action at this time.
0 commit comments