mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 01:44:19 +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:
|
||||
needs: [build, compare]
|
||||
runs-on: windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
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:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -140,36 +137,18 @@ jobs:
|
||||
name: Win32
|
||||
path: build
|
||||
|
||||
- uses: actions/download-artifact@master
|
||||
- uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
name: Accuracy Report
|
||||
|
||||
- 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 }}
|
||||
packages: inkscape
|
||||
version: 1.0
|
||||
|
||||
- name: Upload Continuous Release
|
||||
shell: bash
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
# Convert SVGs to PNG
|
||||
$env:INKSCAPE_DIR/bin/inkscape -w 512 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG
|
||||
$env:INKSCAPE_DIR/bin/inkscape -w 512 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG
|
||||
inkscape -w 512 ISLEPROGRESS.SVG -o ISLEPROGRESS.PNG
|
||||
inkscape -w 512 LEGO1PROGRESS.SVG -o LEGO1PROGRESS.PNG
|
||||
|
||||
./upload.sh \
|
||||
build/ISLE.EXE \
|
||||
|
||||
Reference in New Issue
Block a user