Skip to content

Commit

Permalink
fix(ci): compile firmware-action in examples
Browse files Browse the repository at this point in the history
- we had some breaking changes in firmware-action since last release
- example tests need to know if to download firmware-action executable
  from release, or if to compile on the fly
- problem is that the example CI checks for changes of current HEAD vs
  MAIN, not vs latest release
- this patch should fix this behavior

Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Nov 14, 2024
1 parent 032f607 commit 5d14db7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get latest release
id: semver
uses: ietf-tools/semver-action@v1
with:
token: ${{ github.token }}
- uses: dorny/paths-filter@v3
id: filter
with:
ref: ${{ steps.semver.outputs.semver.current }}
filters: |
action:
- 'action/**'
Expand Down

0 comments on commit 5d14db7

Please sign in to comment.