feat(rf): add CC1101 transceiver support, merge X10 RF protocol and b… #173
This file contains hidden or 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
| name: PlatformIO CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.cache/pip | |
| ~/.platformio/.cache | |
| key: ${{ runner.os }}-pio | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Get Head Commit Message | |
| id: get_head_commit_message | |
| run: git log -1 --no-merges --pretty=%B > release_message.txt | |
| - name: Install PlatformIO Core | |
| run: pip install --upgrade platformio | |
| - name: Build PlatformIO Project | |
| run: | | |
| pio run | |
| export RELEASE_VERSION=${GITHUB_REF#refs/*/} | |
| export VERSION_NUMBER=$RELEASE_VERSION | |
| echo VERSION_NUMBER=$VERSION_NUMBER | |
| bash ./.github/post-build.sh | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| ./artifacts/*.zip | |
| body_path: release_message.txt | |
| generate_release_notes: true |