Skip to content

Commit

Permalink
Updating GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrizzell committed Dec 6, 2023
1 parent 057b12e commit c519f54
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: PlatformIO CI

on: [push, workflow_call]
on: [pull_request]

jobs:
build:
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/build.yml
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run
- name: Upload Release Assets
uses: shogo82148/actions-upload-release-asset@v1
with:
Expand Down

0 comments on commit c519f54

Please sign in to comment.