Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Commit cea5613

Browse files
committed
fix: build ubuntu 20.04 package without errors
1 parent a29ab3b commit cea5613

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
CARGO_TERM_COLOR: always
99
jobs:
1010
old_build:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- run: sudo apt-get install -y libssl-dev libgtk-3-dev
1414
- run: cargo install cargo-deb cargo-rpm
@@ -20,7 +20,7 @@ jobs:
2020
path: target/
2121

2222
# needed on older glibc
23-
- run: sed 's/resolv.*/resolv = "0.2.0"/' Cargo.toml
23+
- run: sed -i 's/resolv.*/resolv = "0.2.0"/' Cargo.toml
2424

2525
- run: cargo deb
2626
- run: cargo rpm build

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
CARGO_TERM_COLOR: always
55
jobs:
66
cargo-test:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88
steps:
99
- run: sudo apt-get install -y libssl-dev libgtk-3-dev
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and the various BSD's.
1212
On the Timer for Harvest github page, click on the
1313
[releases link](https://github.com/frenkel/timer-for-harvest/releases). The
1414
newest release is listed at the top of the page. It contains pre-build
15-
binaries for Ubuntu 20.04 and Fedora 32, as well as other distributions.
15+
binaries for Ubuntu 20.04+ and Fedora 34+, as well as other distributions.
1616
You will be notified of new releases by a message in the main window.
1717

1818
## Usage

0 commit comments

Comments
 (0)