🐛 Fix release dependency version

This commit is contained in:
Tw93
2025-09-07 00:37:46 +08:00
parent b8f7b0fe61
commit 671691992c
5 changed files with 11 additions and 9 deletions

View File

@@ -91,12 +91,13 @@ runs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: x86_64-apple-darwin
- name: Add macOS universal targets
if: env.SETUP_RUST == 'true' && runner.os == 'macOS'
shell: bash
run: rustup target add aarch64-apple-darwin
run: |
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
# 4. System Dependencies
- name: Install Ubuntu dependencies
@@ -107,7 +108,8 @@ runs:
libdbus-1-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev
libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
libglib2.0-dev pkg-config
libglib2.0-dev libglib2.0-dev-bin libgio2.0-cil-dev libgirepository1.0-dev
pkg-config
version: 1.1
- name: Install WIX Toolset

View File

@@ -76,7 +76,7 @@ jobs:
- name: Setup Node.js Environment
uses: ./.github/actions/setup-env
with:
mode: node-only
mode: ${{ matrix.build == 'linux' && 'full' || 'node-only' }}
- name: Rust cache restore
uses: actions/cache/restore@v4.2.0

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.4
# Cargo build stage - Updated to Rust 1.82 for zerovec dependency compatibility
FROM rust:1.82-slim AS cargo-builder
# Cargo build stage - Updated to Rust 1.85 for edition2024 support
FROM rust:1.85-slim AS cargo-builder
# Install Rust dependencies
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \
@@ -27,7 +27,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
RUN ls -la /cargo-cache/registry && ls -la /cargo-cache/git && rm -rfd /cargo-cache/registry/src
# Main build stage
FROM rust:1.82-slim AS builder
FROM rust:1.85-slim AS builder
# Install Rust dependencies
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/usr/local/cargo/registry \

2
dist/cli.js vendored
View File

@@ -1674,7 +1674,7 @@ program
if (option.flags === '-v, --version')
return '';
return option.description;
}
},
})
.action(async (url, options) => {
await checkUpdateTips();

View File

@@ -6,7 +6,7 @@ authors = ["Tw93"]
license = "MIT"
repository = "https://github.com/tw93/Pake"
edition = "2021"
rust-version = "1.78.0"
rust-version = "1.85.0"
[lib]
name = "app_lib"