Skip to content

Commit de8c8ef

Browse files
authored
fix: folder structure when downloading by id (#5)
* fix: folder structure when downloading by id * readme: update
1 parent 3d6671a commit de8c8ef

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ use.
4444
os: [windows-latest, macos-latest, ubuntu-latest]
4545
runs-on: ${{ matrix.os }}
4646
steps:
47-
- uses: esp-cpp/esp-packaged-programmer-action@v1.0.4
47+
- uses: esp-cpp/esp-packaged-programmer-action@v1.0.5
4848
with:
4949
zipfile-name: 'your-build-artifacts'
5050
programmer-name: 'your_programmer_name'
@@ -136,7 +136,7 @@ jobs:
136136
os: [windows-latest, macos-latest, ubuntu-latest]
137137
runs-on: ${{ matrix.os }}
138138
steps:
139-
- uses: esp-cpp/esp-packaged-programmer-action@v1.0.4
139+
- uses: esp-cpp/esp-packaged-programmer-action@v1.0.5
140140
with:
141141
zipfile-id: ${{ needs.build.outputs.zipfile-id }}
142142
programmer-name: 'your_programmer_name'
@@ -146,7 +146,7 @@ jobs:
146146
### Inputs
147147

148148
```yaml
149-
- uses: esp-cpp/download-artifact@v1.0.4
149+
- uses: esp-cpp/download-artifact@v1.0.5
150150
with:
151151
# The ID of the artifact to download.
152152
# Mutually exclusive with `zipfile-name`.

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ runs:
7979
name: ${{ inputs.zipfile-name }}
8080
artifact-ids: ${{ inputs.zipfile-id }}
8181
path: ${{ github.action_path }}/build
82+
# this is needed to ensure downloading by id doesn't add an additional
83+
# folder
84+
merge-multiple: true
8285

8386
- name: Remove any unneeded files from the build folder
8487
shell: bash

0 commit comments

Comments
 (0)