add command to flatten directory structure

This commit is contained in:
Evan Simkowitz 2024-02-29 13:03:40 -08:00
parent 6715865861
commit 40d285213a
No known key found for this signature in database

View File

@ -73,7 +73,12 @@ jobs:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: buildtemp
path: download
- name: Move builds into buildtemp
run: |
mkdir buildtemp
# Will only move over the files, flattening the directory structure
find download -mindepth 2 -type f -exec mv -t buildtemp -i '{}' +
- name: Set `version.txt`
run: |
echo "${{ needs.runbuild.outputs.WAVETERM_VERSION }}" > buildtemp/version.txt