Skip to content

Commit

Permalink
Merge pull request #5 from Sensirion/workflow-renamed
Browse files Browse the repository at this point in the history
updated workflow references
  • Loading branch information
qfisch authored Apr 5, 2024
2 parents a2eb6f1 + 837263c commit fb89c97
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/action@stable-1.x
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 fb89c97

Please sign in to comment.