ci: use alternative download

This commit is contained in:
itsmattkc 2023-06-27 17:42:07 -07:00
parent 4ba4352058
commit 40fdc5b2f5

View file

@ -80,9 +80,12 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
/c/msys64/usr/bin/pacman -Sy --noconfirm mingw-w64-x86_64-inkscape # Convert SVGs to PNG
/c/msys64/mingw64/bin/inkscape -w 1024 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG INKSCAPE_DIR=inkscape-1.2.2_2022-12-09_732a01da63-x64
/c/msys64/mingw64/bin/inkscape -w 1024 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG curl -fLOSs https://inkscape.org/gallery/item/37364/$INKSCAPE_DIR.7z
7z x $INKSCAPE_DIR.7z
$INKSCAPE_DIR/bin/inkscape -w 1024 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG
$INKSCAPE_DIR/bin/inkscape -w 1024 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG
curl -fLOSs https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh curl -fLOSs https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh
./upload.sh \ ./upload.sh \