Skip to content

Commit

Permalink
🌿 Hardcode env info
Browse files Browse the repository at this point in the history
  • Loading branch information
oovm committed Mar 23, 2020
1 parent 0877335 commit 876f29a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ jobs:
asset_name: wex-mac-amd64

steps:
- uses: hecrj/setup-rust-action@v1-release
with:
rust-version: stable
- uses: actions/checkout@v1
- name: Build
run: cargo build --release --locked
run: cargo build --release
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "wxf-converter"
version = "0.0.0"
version = "0.1.0"
authors = ["Aster <192607617@qq.com>"]
description = "..."
description = "Transform yaml, json, pkl files to wolfram"
repository = "https://github.com/GalAster/wolfram-exchange"
readme = "Readme.md"
license = "MPL-2.0"
Expand Down
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ pub enum Error {
fn main() -> Result<(), Error> {
#[rustfmt::skip]
let matches = App::new("Wolfram Format Converter")
.version("0.1.0")
.author("Aster <192607617@qq.com>")
.about("Transform yaml, json, pkl files to wolfram")
.version(env!("CARGO_PKG_VERSION"))
.author(env!("CARGO_PKG_AUTHORS"))
.about(env!("CARGO_PKG_DESCRIPTION"))
.arg(Arg::with_name("INPUT")
.help("Sets the input file to use")
.required(true)
.required(true)
.index(1))
.arg(Arg::with_name("Text")
.short("t")
Expand Down

0 comments on commit 876f29a

Please sign in to comment.