Skip to content

Commit

Permalink
Merge pull request #9 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 4290739 + 8ba6071 commit b536660
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
@@ -1,23 +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
with:
library-manager: update

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: '["basicUsage", "advancedUsage", "hacksterExample"]'

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: '["basicUsage", "advancedUsage", "hacksterExample"]'

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 b536660

Please sign in to comment.