mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 10:24:18 +00:00
just use ubuntu for inkscape
This commit is contained in:
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
@@ -125,11 +125,8 @@ jobs:
|
|||||||
|
|
||||||
upload:
|
upload:
|
||||||
needs: [build, compare]
|
needs: [build, compare]
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
INKSCAPE_DIR: inkscape-1.2.2_2022-12-09_732a01da63-x64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -140,36 +137,18 @@ jobs:
|
|||||||
name: Win32
|
name: Win32
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
- uses: actions/download-artifact@master
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
with:
|
with:
|
||||||
name: Accuracy Report
|
packages: inkscape
|
||||||
|
version: 1.0
|
||||||
- name: Restore Inkscpae
|
|
||||||
id: cache-inkscape
|
|
||||||
uses: actions/cache/restore@v3
|
|
||||||
with:
|
|
||||||
path: ${{ env.INKSCAPE_DIR }}
|
|
||||||
key: ${{ env.INKSCAPE_DIR }}
|
|
||||||
|
|
||||||
- name: Download Inkscape
|
|
||||||
if: ${{ !steps.cache-inkscape.outputs.cache-hit }}
|
|
||||||
run: |
|
|
||||||
curl -fLOSs https://inkscape.org/gallery/item/37364/$env:INKSCAPE_DIR.7z
|
|
||||||
7z x $env:INKSCAPE_DIR.7z
|
|
||||||
|
|
||||||
- name: Cache Inkscape
|
|
||||||
if: ${{ !steps.cache-inkscape.outputs.cache-hit }}
|
|
||||||
uses: actions/cache/save@v3
|
|
||||||
with:
|
|
||||||
path: ${{ env.INKSCAPE_DIR }}
|
|
||||||
key: ${{ env.INKSCAPE_DIR }}
|
|
||||||
|
|
||||||
- name: Upload Continuous Release
|
- name: Upload Continuous Release
|
||||||
shell: bash
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
# Convert SVGs to PNG
|
# Convert SVGs to PNG
|
||||||
$env:INKSCAPE_DIR/bin/inkscape -w 512 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG
|
inkscape -w 512 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG
|
||||||
$env:INKSCAPE_DIR/bin/inkscape -w 512 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG
|
inkscape -w 512 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG
|
||||||
|
|
||||||
./upload.sh \
|
./upload.sh \
|
||||||
build/ISLE.EXE \
|
build/ISLE.EXE \
|
||||||
|
|||||||
Reference in New Issue
Block a user