Skip to content

Commit

Permalink
fixed compilation bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Oct 26, 2022
1 parent 0eec234 commit 7a52af7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ jobs:
build-properties: ${{ toJson(matrix.build-properties) }}
sketch-names: ${{ env.SKETCH_NAME }}
set-build-path: true
extra-arduino-cli-args: --warnings none

- name: Copy compiled binary
if: startsWith(github.ref, 'refs/tags/')
run: cd /home/runner/ESP32-BLECollector/build && ls && cp ESP32-BLECollector.ino.bin ${{ matrix.bin-name }}

- name: Upload artifact ${{ matrix.bin-name }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: startsWith(github.ref, 'refs/tags/')
with:
name: ${{ matrix.bin-name }}
Expand All @@ -94,14 +95,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Create artifacts dir
if: startsWith(github.ref, 'refs/tags/')
run: mkdir -p /home/runner/builds

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
if: startsWith(github.ref, 'refs/tags/')
with:
path: /home/runner/builds
Expand Down

0 comments on commit 7a52af7

Please sign in to comment.