Skip to content

Commit

Permalink
Merge pull request #2 from blastorg/feat/command-history-when-using-s…
Browse files Browse the repository at this point in the history
…hell

Feat/command history when in shell action
  • Loading branch information
gdgunnars authored Jun 18, 2024
2 parents 4663acc + 5ac4930 commit 67a6bcd
Show file tree
Hide file tree
Showing 9 changed files with 279 additions and 65 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/on-pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Pull request build

on:
pull_request:

jobs:
build-and-upload:
name: build and upload
runs-on: ${{ matrix.os }}

strategy:
matrix:
include:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl

- build: macos
os: macos-latest
target: aarch64-apple-darwin

- build: windows-gnu
os: windows-latest
target: x86_64-pc-windows-gnu

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Install Rust
# Or @nightly if you want
uses: dtolnay/rust-toolchain@stable
# Arguments to pass in
with:
# Make Rust compile to our target (defined in the matrix)
targets: ${{ matrix.target }}

- name: Build project
run: cargo build --release --target ${{ matrix.target }}
3 changes: 0 additions & 3 deletions .github/workflows/on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust
# Or @nightly if you want
uses: dtolnay/rust-toolchain@stable
# Arguments to pass in
with:
# Make Rust compile to our target (defined in the matrix)
targets: ${{ matrix.target }}
Expand All @@ -40,7 +38,6 @@ jobs:
shell: bash
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

# TODO: Build project here
- name: Build project
run: cargo build --release --target ${{ matrix.target }}

Expand Down
132 changes: 131 additions & 1 deletion Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rcon"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
authors = ["GDGunnars <[email protected]>", "BLAST.tv <[email protected]>"]
license = "MIT OR Apache-2.0"
Expand All @@ -24,4 +24,5 @@ env_logger = "0.11.3"
inquire = "0.7.5"
log = "0.4.21"
rcon-client = "0.1.2"
rustyline = "14.0.0"
serde = { version = "1.0.198", features = ["derive"] }
Loading

0 comments on commit 67a6bcd

Please sign in to comment.