Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,15 @@ jobs:
uses: actions/download-artifact@v4
with:
name: web-console
path: web-console
path: web-console/build

- name: Verify web console
run: |
# upload-artifact v4 stores the contents of web-console/build at the zip root
if [ -f web-console/index.html ]; then
mkdir -p web-console/build
find web-console -mindepth 1 -maxdepth 1 ! -name build -exec mv {} web-console/build/ \;
fi
if [ ! -f web-console/build/index.html ] && [ -f web-console/build/build/index.html ]; then
mv web-console/build/build/* web-console/build/
rmdir web-console/build/build
Expand Down Expand Up @@ -127,6 +132,10 @@ jobs:

- name: Verify archives
run: |
if [ -f SHA256SUMS.txt ]; then
mkdir -p builds
mv ./*.tar.gz ./*.zip ./build_timestamp.txt ./SHA256SUMS.txt builds/ 2>/dev/null || true
fi
if [ ! -f builds/SHA256SUMS.txt ] && [ -f builds/builds/SHA256SUMS.txt ]; then
mv builds/builds/* builds/
rmdir builds/builds
Expand Down
Loading