LoRa_APRS_iGate/.github/workflows/release.yml

26 wiersze
751 B
YAML
Czysty Zwykły widok Historia

2022-03-26 22:26:42 +00:00
name: Upload Release Assets
2020-08-01 09:00:09 +00:00
on:
push:
2022-03-26 22:26:42 +00:00
branches:
- 'master'
2020-08-01 09:00:09 +00:00
jobs:
build:
name: Upload Release Assets
2020-08-01 09:00:09 +00:00
runs-on: ubuntu-latest
steps:
2022-03-26 22:26:42 +00:00
- uses: actions/checkout@v2
2020-08-01 09:00:09 +00:00
- run: sudo apt-get install python3-setuptools python3-wheel
- run: pip3 install platformio
2020-12-06 21:14:56 +00:00
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
2020-08-01 09:00:09 +00:00
- run: platformio run
2022-03-26 22:26:42 +00:00
- run: echo "VERSION=$(echo ./scripts/create_version_tag.py)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
2020-12-17 21:37:05 +00:00
with:
2022-03-26 22:26:42 +00:00
tag: ${{ env.VERSION }}
commit: Release ${{ env.VERSION }}
generateReleaseNotes: true
artifacts: ".pio/build/lora_board/firmware.bin,data/is-cfg.json"
token: ${{ secrets.GITHUB_TOKEN }}