Skip to content

Commit

Permalink
Release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Aug 14, 2022
1 parent dc71941 commit 8c03f80
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ on:

jobs:
lint_and_test:
timeout-minutes: 10
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
# https://github.com/Swatinem/rust-cache/blob/90429b3dea365e9a1b0cb82d7f98aabf3089dc63/.github/workflows/simple.yml#L21
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: 'Release'

on:
workflow_dispatch:
release:
types: [created]

env:
CARGO_TERM_COLOR: always

jobs:
release:
timeout-minutes: 10
timeout-minutes: 30
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
Expand All @@ -14,6 +19,13 @@ jobs:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin]
steps:
- uses: actions/checkout@master
# https://github.com/Swatinem/rust-cache/blob/90429b3dea365e9a1b0cb82d7f98aabf3089dc63/.github/workflows/simple.yml#L21
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Compile and release
uses: rust-build/rust-build.action@latest
env:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.org
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#+STARTUP: content

* master(unrelease)
* v0.3.1 (2022-08-14)
** New Features
- Add flatpak variant browsers detection
* v0.3.0 (2022-06-27)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onehistory"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
authors = ["Jiacai Liu <jiacai2050+1history@gmail.com>"]
description = "All your history in one file"
Expand Down

0 comments on commit 8c03f80

Please sign in to comment.