mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
**Description**: Pin all actions used in `.github/workflows` to specific commit hashes. **Related Issue(s)**: Implements #321 Signed-off-by: Andrew Brandt <brandt.andrew89@gmail.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Compile Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build-release:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
submodules: recursive
|
|
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
|
|
with:
|
|
path: |
|
|
~/.cache/pip
|
|
~/.platformio/.cache
|
|
key: ${{ runner.os }}-pio
|
|
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
|
|
with:
|
|
python-version: '3.14'
|
|
|
|
- name: Install PlatformIO Core
|
|
run: pip install --upgrade platformio
|
|
|
|
- name: Build CrossPoint
|
|
run: pio run -e gh_release
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: CrossPoint-${{ github.ref_name }}
|
|
path: |
|
|
.pio/build/gh_release/bootloader.bin
|
|
.pio/build/gh_release/firmware.bin
|
|
.pio/build/gh_release/firmware.elf
|
|
.pio/build/gh_release/firmware.map
|
|
.pio/build/gh_release/partitions.bin
|