forked from btclock/btclock_v3
Add platformio and node_modules cache
This commit is contained in:
parent
e44d686218
commit
25dcf444c2
1 changed files with 4 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue