Skip to content

Commit

Permalink
Added release workflow and updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-cpsn committed Feb 16, 2024
1 parent 3ab1e32 commit e923d77
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 64 deletions.
14 changes: 14 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3

# targets
# x86_64-pc-windows-msvc
# x86_64-unknown-linux-gnu
# x86_64-apple-darwin

[target.x86_64-apple-darwin]
linker = "x86_64-apple-darwin14-clang"
ar = "x86_64-apple-darwin14-ar"
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .github/workflows/release.yml

on:
release:
types: [created]

jobs:
release:
name: release ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz tar.xz tar.zst
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
71 changes: 11 additions & 60 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ authors = ["julien-cpsn"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
crossterm = "0.27.0"
ratatui = "0.26.0"
reqwest = { version = "0.11.24", features = ["cookies"] }
strum = "0.26.1"
throbber-widgets-tui = "0.3.0"
tokio = { version = "1.0.0", features = ["rt", "rt-multi-thread", "macros"] }
strum = "0.26.1"
ratatui = "0.26.0"
crossterm = "0.27.0"
tui-big-text = "0.4.0"
tui-textarea = { version = "0.4.0", features = ["ratatui"] }
throbber-widgets-tui = "0.4.0"

0 comments on commit e923d77

Please sign in to comment.