Skip to content

Commit

Permalink
updated workflow references
Browse files Browse the repository at this point in the history
  • Loading branch information
qfisch committed Apr 5, 2024
1 parent a2eb6f1 commit 837263c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
name: Arduino Lib
name: Arduino Library

on:
pull_request:
branches:
- master

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

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
10 changes: 5 additions & 5 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PIO Lib
name: PlatformIO Library

on:
pull_request:
Expand All @@ -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: '["GetLiveValues"]'

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: '["GetLiveValues"]'

PlatformIO-Package:
if: ${{ (github.ref_type != 'tag') && (github.ref_name == 'main') }}
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 837263c

Please sign in to comment.