Add platformio and node_modules cache
Some checks failed
/ build (push) Successful in 18m40s
/ merge (map[name:btclock_rev_b version:esp32s3], 213epd) (push) Successful in 27s
/ merge (map[name:btclock_v8 version:esp32s3], 213epd) (push) Successful in 25s
/ merge (map[name:lolin_s3_mini version:esp32s3], 213epd) (push) Successful in 25s
/ merge (map[name:lolin_s3_mini version:esp32s3], 29epd) (push) Successful in 25s
/ release (push) Failing after 3s

This commit is contained in:
Djuri Baars 2024-11-26 19:03:48 +01:00
parent e44d686218
commit 25dcf444c2

View file

@ -29,6 +29,8 @@ jobs:
~/.cache/pip
~/.platformio/.cache
~/data/node_modules
.pio
data/node_modules
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
@ -154,7 +156,7 @@ jobs:
- name: Copy files
run: |
mkdir -p release
cp -t release temp/**/*.bin temp/**/*.sha256
cp -rf -t release temp/**/*.bin temp/**/*.sha256
- name: Create release
uses: https://code.forgejo.org/actions/forgejo-release@v2.4.0
with:
@ -165,7 +167,7 @@ jobs:
sha: '${{ github.sha }}'
release-dir: release
token: ${{ secrets.TOKEN }}
override: false
override: ${{ github.ref_type != 'tag' && github.ref_name != 'main' }}
verbose: false
prerelease: ${{ github.ref_type != 'tag' && github.ref_name != 'main' }}
release-notes-assistant: false