Skip to content

feat: better osu! restarting #13

feat: better osu! restarting

feat: better osu! restarting #13

Workflow file for this run

on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-pc-windows-gnu
override: true
- name: Rust caching
uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
${{ github.workspace }}/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('lib/rust/Cargo.lock') }}
- name: Build release
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target=x86_64-pc-windows-gnu
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: osu-switcher
path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/osu-switcher.exe