Skip to content

Commit

Permalink
Support act for local building (#38)
Browse files Browse the repository at this point in the history
* Bump `build-push-action` to get Act running

* Install `node` to get `upload-artifact` to work with act

* Only release generated firmware files as artifacts
  • Loading branch information
puddly authored Jan 2, 2024
1 parent 3d23e24 commit d1999bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Build and Push
uses: docker/build-push-action@v3.3.0
uses: docker/build-push-action@v5.1.0
with:
context: .
file: Dockerfile
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/silabs-firmware-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,15 @@ jobs:
--app build/release/${{ inputs.project_name }}.out \
--device ${{ inputs.device }} --metadata version.json
- name: Install node within container (act)
if: ${{ env.ACT }}
shell: bash
run: |
curl -fsSL https://deb.nodesource.com/nsolid_setup_deb.sh | bash -s 20
apt-get install -y nodejs
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: ${{ inputs.firmware_name }}
path: ${{ inputs.firmware_name }}
path: ${{ inputs.firmware_name }}/build/release/*.*

0 comments on commit d1999bd

Please sign in to comment.