Skip to content

Commit 7808855

Browse files
committed
Version: 5.0.0-rc.2
Setting MSRV to 1.88.0 because it introduced stable support for multiple let expressions inside if conditions. Also using cache in CI/CD for Cargo cache and target/.
1 parent 1ba3c13 commit 7808855

5 files changed

Lines changed: 35 additions & 10 deletions

File tree

.github/workflows/data/release-notes.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,4 @@ Summary
77

88
### Downloads
99

10-
Pre-compiled binaries are available for multiple targets, each archive contains the CLI
11-
executable, the dynamic library and the development files: headers, debug symbols and
12-
static library.
10+
Pre-compiled binaries are available for multiple targets, each archive contains the CLI executable, ~~the dynamic library and the development files: headers, debug symbols and static library~~ (will be available later).

.github/workflows/deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ jobs:
9999
steps:
100100

101101
- uses: actions/checkout@v4
102+
103+
- name: Cache
104+
uses: actions/cache@v4
105+
with:
106+
path: |
107+
~/.cargo/registry
108+
~/.cargo/git
109+
target
110+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
102111

103112
- name: Setup
104113
if: matrix.setup != null
@@ -202,6 +211,15 @@ jobs:
202211

203212
- uses: actions/checkout@v4
204213

214+
- name: Cache
215+
uses: actions/cache@v4
216+
with:
217+
path: |
218+
~/.cargo/registry
219+
~/.cargo/git
220+
target
221+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
222+
205223
- name: Publish API
206224
run: cargo publish -p portablemc
207225

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ jobs:
5151
steps:
5252

5353
- uses: actions/checkout@v4
54+
55+
- name: Cache
56+
uses: actions/cache@v4
57+
with:
58+
path: |
59+
~/.cargo/registry
60+
~/.cargo/git
61+
target
62+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
5463

5564
- name: Build
5665
run: cargo build

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ resolver = "2"
55

66
[workspace.package]
77
edition = "2024"
8-
version = "5.0.0-rc.1"
8+
version = "5.0.0-rc.2"
99
authors = ["Théo Rozier <contact@theorozier.fr>"]
1010
homepage = "https://github.com/mindstorm38/portablemc"
1111
repository = "https://github.com/mindstorm38/portablemc"
1212
license = "Apache-2.0"
1313
readme = "README.md"
14-
rust-version = "1.85.1"
14+
rust-version = "1.88.0"
1515

1616
[workspace.dependencies]
17-
portablemc = { path = "portablemc", version = "=5.0.0-rc.1" }
17+
portablemc = { path = "portablemc", version = "=5.0.0-rc.2" }
1818

1919
# Utils
2020
thiserror = "2.0.3"

0 commit comments

Comments
 (0)