Skip to content

fix: penalty is no more saved from one solve to another #5

fix: penalty is no more saved from one solve to another

fix: penalty is no more saved from one solve to another #5

name: PlatformIO CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio-new
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: bash ./build.sh
working-directory: ./proj
- name: Read version
run: echo "VERSION=$(head -c 8 ./proj/.versum)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
artifacts: "./proj/build/*.bin"
generateReleaseNotes: true
skipIfReleaseExists: true
makeLatest: true
tag: ${{ env.VERSION }}
token: ${{ secrets.GH_TOKEN }}