Skip to content

Commit

Permalink
Use shared workflow from Sensirion
Browse files Browse the repository at this point in the history
  • Loading branch information
qfisch committed Feb 27, 2024
1 parent 0788da6 commit 2af096a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ on:

jobs:
PlatformIO-Check:
uses: ./.github/workflows/platformio_check_template.yml
uses: sensirion/.github/.github/workflows/platformio_check.yml@main
with:
pio-environment-list: '["ble_example", "basicUsage"]'

PlatformIO-Build:
uses: ./.github/workflows/platformio_build_template.yml
uses: sensirion/.github/.github/workflows/platformio_build.yml@main
needs: PlatformIO-Check
with:
pio-environment-list: '["ble_example", "basicUsage"]'

PlatformIO-Package:
if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'master') }}
needs: PlatformIO-Build
uses: ./.github/workflows/platformio_publish_template.yml
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
with:
should-publish: false

PlatformIO-Publish:
uses: ./.github/workflows/platformio_publish_template.yml
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
if: github.ref_type == 'tag'
needs: PlatformIO-Build
with:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/platformio_build_template.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/platformio_check_template.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/platformio_publish_template.yml

This file was deleted.

0 comments on commit 2af096a

Please sign in to comment.