Fix Shottimer Scale and inclusion of BREWCONTROL_TYPE 2 in 1, with choice of brew-type via parameter in Website #1118
This file contains 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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Add config file | |
working-directory: ./src | |
run: cp userConfig_sample.h userConfig.h | |
- name: Enable features | |
working-directory: ./src | |
run: header_file="userConfig.h"; sed -i -E 's/^(#define[[:space:]]+FEATURE_[A-Za-z_]+[[:space:]]+)[0-9]+/\11/' $header_file | |
- name: PlatformIO Run | |
uses: karniv00l/platformio-run-action@v1 | |
with: | |
silent: false | |
verbose: true | |
disable-auto-clean: false |