diff --git a/.github/workflows/automate_arm_linux_build.yml b/.github/workflows/automate_arm_linux_build.yml index 127be9da..07ffe95b 100644 --- a/.github/workflows/automate_arm_linux_build.yml +++ b/.github/workflows/automate_arm_linux_build.yml @@ -3,11 +3,14 @@ name: Linux ARM build on: push: paths: + # only trigger the action if things are changing + # in the imls-wifi-sensor or in this yaml file - 'imls-wifi-sensor/**' - '.github/workflows/automate_arm_linux_build.yml' pull_request: paths: - 'imls-wifi-sensor/**' + - '.github/workflows/automate_arm_linux_build.yml' workflow_dispatch: @@ -18,15 +21,14 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - # The Go version to download (if necessary) and use. - #go-version: '1.19.5' + # use the go.mod and go.sum files for deps and versioning go-version-file: imls-wifi-sensor/go.mod cache-dependency-path: imls-wifi-sensor/go.sum - name: build the executables run: | cd imls-wifi-sensor + # there is a special Makefile just for gh-actions make -f Makefile.gh-actions all - ls - name: Upload the session counter uses: actions/upload-artifact@v3 with: