Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Apr 27, 2024
1 parent 3c8770d commit a10f29c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
os: macOS-latest
features: auto-splitting
cross: skip
install_target: true

- label: macOS x86_64-v3
target: x86_64-apple-darwin
Expand All @@ -116,15 +117,16 @@ jobs:
os: macOS-latest
features: auto-splitting
cross: skip
install_target: true

steps:
- name: Checkout Commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: hecrj/setup-rust-action@v1
uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.toolchain || 'stable' }}
rust-version: 'stable'

- name: Install Target
if: matrix.install_target != ''
Expand Down Expand Up @@ -157,21 +159,21 @@ jobs:
env:
TARGET: ${{ matrix.target }}
SKIP_CROSS: ${{ matrix.cross }}
IS_DEPLOY: ${{ startsWith(github.ref, 'refs/tags/') && (matrix.release_anyway != '' || !(startsWith(matrix.toolchain, 'nightly') || startsWith(matrix.toolchain, 'beta'))) }}
IS_DEPLOY: ${{ startsWith(github.ref, 'refs/tags/') }}
FEATURES: ${{ matrix.features }}
RUSTFLAGS: ${{ matrix.rust_flags }}

- name: Prepare Release
if: startsWith(github.ref, 'refs/tags/') && matrix.release == ''
if: startsWith(github.ref, 'refs/tags/')
run: bash .github/workflows/before_deploy.sh
env:
OS_NAME: ${{ matrix.os }}
TARGET: ${{ matrix.target }}
RELEASE_TARGET: ${{ matrix.target_rename || matrix.target }}

- name: Release
if: startsWith(github.ref, 'refs/tags/') && matrix.release == ''
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: livesplit-one-*.*
env:
Expand All @@ -181,10 +183,10 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: hecrj/setup-rust-action@v1
uses: hecrj/setup-rust-action@v2
with:
components: clippy

Expand All @@ -195,10 +197,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: hecrj/setup-rust-action@v1
uses: hecrj/setup-rust-action@v2
with:
components: rustfmt

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "livesplit-one"
version = "0.1.0"
version = "0.2.0"
authors = ["Christopher Serr <[email protected]>"]
edition = "2021"

Expand Down

0 comments on commit a10f29c

Please sign in to comment.