Skip to content

Commit 77f104a

Browse files
committed
Fix CI: change Rust edition from 2024 to 2021 and fix Windows binary path
1 parent 41a9c1d commit 77f104a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,19 @@ jobs:
8888
- name: Build release
8989
run: cargo build --release --verbose
9090

91-
- name: Upload artifacts
91+
- name: Upload artifacts (Windows)
92+
if: matrix.os == 'windows-latest'
9293
uses: actions/upload-artifact@v4
9394
with:
9495
name: ${{ matrix.os }}-binary
95-
path: target/release/sshdb${{ matrix.os == 'windows-latest' && '.exe' || '' }}
96+
path: target/release/sshdb.exe
97+
retention-days: 1
98+
99+
- name: Upload artifacts (Unix)
100+
if: matrix.os != 'windows-latest'
101+
uses: actions/upload-artifact@v4
102+
with:
103+
name: ${{ matrix.os }}-binary
104+
path: target/release/sshdb
96105
retention-days: 1
97106

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sshdb"
33
version = "0.15.0"
4-
edition = "2024"
4+
edition = "2021"
55
description = "Keyboard-first SSH library and launcher TUI."
66
authors = ["Riccardo Iaconelli <[email protected]>"]
77
license = "GPL-3.0-or-later"

0 commit comments

Comments
 (0)