mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
Updated versions of builders
This commit is contained in:
parent
66f7867a51
commit
5b4f377972
8
.github/workflows/tauri-build.yml
vendored
8
.github/workflows/tauri-build.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
- platform: 'macos-latest'
|
- platform: 'macos-latest'
|
||||||
args: '--target x86_64-apple-darwin'
|
args: '--target x86_64-apple-darwin'
|
||||||
name: 'macos-x86_64'
|
name: 'macos-x86_64'
|
||||||
- platform: 'ubuntu-20.04'
|
- platform: 'ubuntu-22.04'
|
||||||
args: ''
|
args: ''
|
||||||
name: 'linux-x86_64'
|
name: 'linux-x86_64'
|
||||||
- platform: 'windows-latest'
|
- platform: 'windows-latest'
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Install dependencies (ubuntu only)
|
- name: Install dependencies (ubuntu only)
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||||
@ -76,7 +76,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@0ad00a8b5b3388e41dc48b8dd2912fcdecfb8ca6 # v4.3.1
|
uses: actions/setup-node@0ad00a8b5b3388e41dc48b8dd2912fcdecfb8ca6 # v4.3.1
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: frontend/package-lock.json
|
cache-dependency-path: frontend/package-lock.json
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ jobs:
|
|||||||
- name: Copy backend JAR to Tauri resources
|
- name: Copy backend JAR to Tauri resources
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./frontend/src-tauri/libs
|
mkdir -p ./frontend/src-tauri/libs
|
||||||
cp ./stirling-pdf/build/libs/Stirling-PDF-*.jar ./frontend/src-tauri/libs/stirling-pdf.jar
|
cp ./stirling-pdf/build/libs/stirling-pdf-*.jar ./frontend/src-tauri/libs
|
||||||
|
|
||||||
- name: Build Tauri app
|
- name: Build Tauri app
|
||||||
uses: tauri-apps/tauri-action@6fdd37473788d5a2b4dd80e7ccc0b3c7fe8a5bcd # v0.5.7
|
uses: tauri-apps/tauri-action@6fdd37473788d5a2b4dd80e7ccc0b3c7fe8a5bcd # v0.5.7
|
||||||
|
6
.github/workflows/tauri-test.yml
vendored
6
.github/workflows/tauri-test.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
echo 'matrix={"include":[{"platform":"macos-latest","args":"--target aarch64-apple-darwin","name":"macos-aarch64"}]}' >> $GITHUB_OUTPUT
|
echo 'matrix={"include":[{"platform":"macos-latest","args":"--target aarch64-apple-darwin","name":"macos-aarch64"}]}' >> $GITHUB_OUTPUT
|
||||||
;;
|
;;
|
||||||
"linux")
|
"linux")
|
||||||
echo 'matrix={"include":[{"platform":"ubuntu-20.04","args":"","name":"linux-x86_64"}]}' >> $GITHUB_OUTPUT
|
echo 'matrix={"include":[{"platform":"ubuntu-22.04","args":"","name":"linux-x86_64"}]}' >> $GITHUB_OUTPUT
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'matrix={"include":[{"platform":"windows-latest","args":"--target x86_64-pc-windows-msvc","name":"windows-x86_64"},{"platform":"macos-latest","args":"--target aarch64-apple-darwin","name":"macos-aarch64"},{"platform":"ubuntu-20.04","args":"","name":"linux-x86_64"}]}' >> $GITHUB_OUTPUT
|
echo 'matrix={"include":[{"platform":"windows-latest","args":"--target x86_64-pc-windows-msvc","name":"windows-x86_64"},{"platform":"macos-latest","args":"--target aarch64-apple-darwin","name":"macos-aarch64"},{"platform":"ubuntu-20.04","args":"","name":"linux-x86_64"}]}' >> $GITHUB_OUTPUT
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: frontend/package-lock.json
|
cache-dependency-path: frontend/package-lock.json
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ jobs:
|
|||||||
- name: Copy backend JAR to Tauri resources
|
- name: Copy backend JAR to Tauri resources
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./frontend/src-tauri/libs
|
mkdir -p ./frontend/src-tauri/libs
|
||||||
cp ./stirling-pdf/build/libs/Stirling-PDF-*.jar ./frontend/src-tauri/libs/stirling-pdf.jar
|
cp ./stirling-pdf/build/libs/stirling-pdf-*.jar ./frontend/src-tauri/libs
|
||||||
|
|
||||||
- name: Build Tauri app (test mode)
|
- name: Build Tauri app (test mode)
|
||||||
uses: tauri-apps/tauri-action@v0.5
|
uses: tauri-apps/tauri-action@v0.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user