Legacy support #23
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -221,17 +221,7 @@ jobs:
|
||||
matrix.variant == 'legacy' &&
|
||||
(github.event_name == 'push' ||
|
||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true))
|
||||
shell: bash
|
||||
run: |
|
||||
shopt -s nullglob
|
||||
for f in dist/*-win-installer.exe dist/*-win-portable.exe dist/*-linux.AppImage dist/*-linux.deb; do
|
||||
[ -e "$f" ] || continue
|
||||
dir=$(dirname "$f")
|
||||
base=$(basename "$f")
|
||||
ext="${base##*.}"
|
||||
name="${base%.$ext}"
|
||||
mv "$f" "$dir/${name}-legacy.${ext}"
|
||||
done
|
||||
run: ./scripts/rename_legacy_artifacts.sh
|
||||
|
||||
- name: Upload build artifacts
|
||||
if: |
|
||||
|
||||
Reference in New Issue
Block a user