Skip to content

Commit

Permalink
Merge pull request #185 from rogy-AquaLab/pio-cache
Browse files Browse the repository at this point in the history
PlatformIOのビルドキャッシュ
  • Loading branch information
H1rono authored May 17, 2024
2 parents 1c2bb57 + 4759407 commit b870af6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
path: |
~/.cache/pip
~/.platformio/.cache
.pio/cache
key: ${{ runner.os }}-pio
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

[platformio]
default_envs = nucleo_f303k8
build_cache_dir = .pio/cache

[env]
platform = ststm32
Expand Down

0 comments on commit b870af6

Please sign in to comment.