Skip to content

Commit

Permalink
Update compile-action to v1 (#121)
Browse files Browse the repository at this point in the history
* Bump compile-action to v1

* Track the latest release for device os 4 and 5

* Remove unnecessary default value

* Capture all build artifacts

target-path includes debug helper files (ELF, LST, MAP)
  • Loading branch information
laupow authored May 30, 2023
1 parent c5cc3ab commit 982e767
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
compile:
strategy:
matrix:
device-os-version: [ '4.0.2', '5.3.1' ]
device-os-version: [ '4.x', '5.x' ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -16,14 +16,15 @@ jobs:

- name: Compile application
id: compile
uses: particle-iot/compile-action@main
uses: particle-iot/compile-action@v1
with:
particle-platform-name: 'tracker'
device-os-version: '${{ matrix.device-os-version }}'
sources-folder: '.'

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: tracker-firmware-deviceos-${{ matrix.device-os-version }}
path: ${{ steps.compile.outputs.artifact-path }}
name: tracker-artifacts-${{ matrix.device-os-version }}
path: |
${{ steps.compile.outputs.firmware-path }}
${{ steps.compile.outputs.target-path }}

0 comments on commit 982e767

Please sign in to comment.