-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ed17dc
commit aaa2f75
Showing
4 changed files
with
76 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Python dependencies | ||
uses: py-actions/py-dependency-install@v2 | ||
with: | ||
path: "requirements.txt" | ||
update-pip: "true" | ||
update-setuptools: "false" | ||
update-wheel: "false" | ||
|
||
- name: Compile | ||
run: pio run -e release | ||
|
||
- name: Set env | ||
if: ${{ github.event_name == 'release' }} | ||
run: | | ||
echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV | ||
mv .pio/build/release/firmware.bin ${GITHUB_REPOSITORY##*/}-${GITHUB_REF#refs/*/}.bin | ||
- name: Release | ||
if: ${{ github.event_name == 'release' }} | ||
uses: softprops/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
files: ${{ env.REPOSITORY_NAME }}-${{ env.GITHUB_TAG }}.bin |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
<a href="https://www.hardwario.com/"><img src="https://www.hardwario.com/ci/assets/hw-logo.svg" width="200" alt="HARDWARIO Logo" align="right"></a> | ||
|
||
# Firmware for HARDWARIO Sigfox Pulse Counter | ||
|
||
[![Travis](https://img.shields.io/travis/bigclownlabs/bcf-sigfox-pulse-counter/master.svg)](https://travis-ci.org/bigclownlabs/bcf-sigfox-pulse-counter) | ||
[![Release](https://img.shields.io/github/release/bigclownlabs/bcf-sigfox-pulse-counter.svg)](https://github.com/bigclownlabs/bcf-sigfox-pulse-counter/releases) | ||
[![License](https://img.shields.io/github/license/bigclownlabs/bcf-sigfox-pulse-counter.svg)](https://github.com/bigclownlabs/bcf-sigfox-pulse-counter/blob/master/LICENSE) | ||
[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social&label=Follow)](https://twitter.com/hardwario_en) | ||
|
||
This repository contains firmware for sigfox pulse counter project. | ||
|
||
If you want to get more information about, firmware and how to work with it, please follow this link: | ||
|
||
**https://developers.hardwario.com/firmware/firmware-quick-start** | ||
|
||
## Introduction | ||
|
||
Sigfox pulse counter to be used as a wireles counter. Device running from two AAA batteries. It reports measured data to Sigfox network every 60 minutes. | ||
|
||
## Hardware | ||
|
||
The following hardware components are used for this project: | ||
|
||
* **[Sensor Module](https://shop.bigclown.com/products/sensor-module)** | ||
* **[Core Module](https://shop.bigclown.com/products/core-module)** | ||
* **[Sigfox Module](https://shop.bigclown.com/products/sigfox-module)** | ||
* **[Mini Battery Module](https://shop.bigclown.com/products/mini-battery-module)** | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT/) - see the [LICENSE](LICENSE) file for details. | ||
|
||
--- | ||
|
||
Made with ❤ by [**HARDWARIO s.r.o.**](https://www.hardwario.com/) in the heart of Europe. | ||
<a href="https://www.hardwario.com/"><img src="https://www.hardwario.com/ci/assets/hw-logo.svg" width="200" alt="HARDWARIO Logo" align="right"></a> | ||
|
||
# Firmware for HARDWARIO Sigfox Pulse Counter | ||
|
||
[![build](https://github.com/hardwario/twr-sigfox-pulse-counter/actions/workflows/main.yml/badge.svg)](https://github.com/hardwario/twr-sigfox-pulse-counter/actions/workflows/main.yml) | ||
[![Release](https://img.shields.io/github/release/bigclownlabs/bcf-sigfox-pulse-counter.svg)](https://github.com/bigclownlabs/bcf-sigfox-pulse-counter/releases) | ||
[![License](https://img.shields.io/github/license/bigclownlabs/bcf-sigfox-pulse-counter.svg)](https://github.com/bigclownlabs/bcf-sigfox-pulse-counter/blob/master/LICENSE) | ||
[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social&label=Follow)](https://twitter.com/hardwario_en) | ||
|
||
This repository contains firmware for sigfox pulse counter project. | ||
|
||
If you want to get more information about, firmware and how to work with it, please follow this link: | ||
|
||
**https://developers.hardwario.com/firmware/firmware-quick-start** | ||
|
||
## Introduction | ||
|
||
Sigfox pulse counter to be used as a wireles counter. Device running from two AAA batteries. It reports measured data to Sigfox network every 60 minutes. | ||
|
||
## Hardware | ||
|
||
The following hardware components are used for this project: | ||
|
||
* **[Sensor Module](https://shop.bigclown.com/products/sensor-module)** | ||
* **[Core Module](https://shop.bigclown.com/products/core-module)** | ||
* **[Sigfox Module](https://shop.bigclown.com/products/sigfox-module)** | ||
* **[Mini Battery Module](https://shop.bigclown.com/products/mini-battery-module)** | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT/) - see the [LICENSE](LICENSE) file for details. | ||
|
||
--- | ||
|
||
Made with ❤ by [**HARDWARIO s.r.o.**](https://www.hardwario.com/) in the heart of Europe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
platformio |