Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/command history when in shell action #2

Merged
merged 6 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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