A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add release candidate workflow

+48
+48
.github/workflows/release_candidate.yml
··· 1 + name: Compile Release Candidate 2 + 3 + on: 4 + workflow_dispatch: 5 + 6 + jobs: 7 + build-release-candidate: 8 + if: startsWith(github.ref_name, 'release/') 9 + runs-on: ubuntu-latest 10 + steps: 11 + - uses: actions/checkout@v6 12 + with: 13 + submodules: recursive 14 + 15 + - uses: actions/cache@v5 16 + with: 17 + path: | 18 + ~/.cache/pip 19 + ~/.platformio/.cache 20 + key: ${{ runner.os }}-pio 21 + 22 + - uses: actions/setup-python@v6 23 + with: 24 + python-version: '3.14' 25 + 26 + - name: Install PlatformIO Core 27 + run: pip install --upgrade platformio 28 + 29 + - name: Extract env 30 + run: | 31 + echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV 32 + echo "BRANCH_SUFFIX=${GITHUB_HEAD_REF#release/}" >> $GITHUB_ENV 33 + 34 + - name: Build CrossPoint Release Candidate 35 + env: 36 + CROSSPOINT_RC_HASH: ${{ env.SHORT_SHA }} 37 + run: pio run -e gh_release_rc 38 + 39 + - name: Upload Artifacts 40 + uses: actions/upload-artifact@v4 41 + with: 42 + name: CrossPoint-RC-${{ env.BRANCH_SUFFIX }} 43 + path: | 44 + .pio/build/gh_release_rc/bootloader.bin 45 + .pio/build/gh_release_rc/firmware.bin 46 + .pio/build/gh_release_rc/firmware.elf 47 + .pio/build/gh_release_rc/firmware.map 48 + .pio/build/gh_release_rc/partitions.bin