Skip to content

Commit

Permalink
0.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawdaniel committed Mar 15, 2023
1 parent 4777e34 commit 8cc8050
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,23 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt, clippy
override: true

- name: Install clipboard deps
run: |
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then
sudo apt update
sudo apt install -y xorg-dev libxcb-composite0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
elif [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bash_profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install xcb-proto libxcb
else
echo "Unknown target: ${{ matrix.target }}"
Expand All @@ -45,6 +55,7 @@ jobs:
RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: "README.md LICENSE"
ARCHIVE_TYPES: ${{ matrix.archive }}
TOOLCHAIN_VERSION: nightly

release-binary:
permissions:
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 = "gpt-cli"
version = "0.0.9"
version = "0.0.12"
edition = "2021"
authors = ["Daniel Gustaw <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 8cc8050

Please sign in to comment.