Skip to content

Commit

Permalink
Merge pull request #8 from Sensirion/renamed-workflows
Browse files Browse the repository at this point in the history
name update for used sensirion workflows
  • Loading branch information
qfisch authored Apr 5, 2024
2 parents aeb0ce4 + c949f1e commit e8d47ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,8 @@ on:
- master

jobs:
arduino-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/arduino-lint-action@v1
with:
library-manager: update

arduino-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Arduino-CI/[email protected]
env:
EXPECT_EXAMPLES: true
Arduino-Checks:
uses: sensirion/.github/.github/workflows/upt.arduino.check.yml@main
with:
expect-arduino-examples: true
lint-lib-manager-check: update
8 changes: 4 additions & 4 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ on:

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

PlatformIO-Build:
uses: sensirion/.github/.github/workflows/platformio_build.yml@main
uses: sensirion/.github/.github/workflows/upt.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: sensirion/.github/.github/workflows/platformio_publish.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
with:
should-publish: false

PlatformIO-Publish:
uses: sensirion/.github/.github/workflows/platformio_publish.yml@main
uses: sensirion/.github/.github/workflows/upt.platformio.publish.yml@main
if: github.ref_type == 'tag'
needs: PlatformIO-Build
with:
Expand Down

0 comments on commit e8d47ab

Please sign in to comment.