Legacy support #23
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -221,17 +221,7 @@ jobs:
|
|||||||
matrix.variant == 'legacy' &&
|
matrix.variant == 'legacy' &&
|
||||||
(github.event_name == 'push' ||
|
(github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true))
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true))
|
||||||
shell: bash
|
run: ./scripts/rename_legacy_artifacts.sh
|
||||||
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
|
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
if: |
|
if: |
|
||||||
|
|||||||
Reference in New Issue
Block a user