Skip to content

Commit

Permalink
Merge pull request #276 from fiendie/actions
Browse files Browse the repository at this point in the history
Use hosted GitHub Actions
  • Loading branch information
murmeltier08 authored Nov 3, 2022
2 parents 1352441 + fecba4b commit 68ba259
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master

on: [push, pull_request]

jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

uses: actions/checkout@v3
- name: Add config file
working-directory: ./src
run: cp userConfig_sample.h userConfig.h

- name: Run PlatformIO
run: ~/.platformio/penv/bin/platformio run
- name: PlatformIO Run
uses: karniv00l/platformio-run-action@v1
with:
silent: false
verbose: true
disable-auto-clean: false

0 comments on commit 68ba259

Please sign in to comment.