mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-09-24 09:03:44 +00:00
fix: goldmapper on ci
This commit is contained in:
@@ -17,8 +17,37 @@ jobs:
|
||||
cat RELEASE_NOTES.md >> "$GITHUB_OUTPUT"
|
||||
echo "EOF" >> "$GITHUB_OUTPUT"
|
||||
|
||||
build-goldmapper:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: install mingw toolchain
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
|
||||
- name: setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: "pnpm"
|
||||
- name: build GoldMapper
|
||||
run: pnpm goldmapper
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: goldmapper
|
||||
path: |
|
||||
src-tauri/resources/GoldMapperLib.dll
|
||||
src-tauri/resources/GoldMapperLauncher.exe
|
||||
src-tauri/resources/SDL2.dll
|
||||
|
||||
publish-tauri:
|
||||
needs: get-version
|
||||
needs: [get-version, build-goldmapper]
|
||||
permissions:
|
||||
contents: write
|
||||
strategy:
|
||||
@@ -40,10 +69,6 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: build GoldMapper
|
||||
shell: bash
|
||||
run: pnpm goldmapper
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-22.04'
|
||||
run: |
|
||||
@@ -60,6 +85,12 @@ jobs:
|
||||
node-version: lts/*
|
||||
cache: "pnpm"
|
||||
|
||||
- name: download GoldMapper
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: goldmapper
|
||||
path: src-tauri/resources
|
||||
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user