create precompiled releases
This commit is contained in:
parent
f650961873
commit
b32e41433f
0
docs/ferris.png → .github/docs/ferris.png
vendored
0
docs/ferris.png → .github/docs/ferris.png
vendored
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
38
.github/workflows/release.yaml
vendored
Normal file
38
.github/workflows/release.yaml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
name: Release
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v[0-9]+.*
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: taiki-e/create-gh-release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
upload-assets:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: aarch64-apple-darwin
|
||||
os: macos-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: taiki-e/upload-rust-binary-action@v1
|
||||
with:
|
||||
bin: dlrs
|
||||
tar: unix
|
||||
include: LICENSE
|
||||
checksum: sha256
|
||||
target: ${{ matrix.target }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
26
Cargo.lock
generated
26
Cargo.lock
generated
@ -115,6 +115,19 @@ version = "0.8.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
||||
|
||||
[[package]]
|
||||
name = "dlrs"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"colored",
|
||||
"futures",
|
||||
"regex",
|
||||
"reqwest",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "encoding_rs"
|
||||
version = "0.8.31"
|
||||
@ -691,19 +704,6 @@ dependencies = [
|
||||
"winreg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rusty-downloader"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"colored",
|
||||
"futures",
|
||||
"regex",
|
||||
"reqwest",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ryu"
|
||||
version = "1.0.10"
|
||||
|
@ -1,10 +1,10 @@
|
||||
<p align="center">
|
||||
<span><img src="https://github.com/17ms/dlrs/blob/master/docs/ferris.png" width="400"></span>
|
||||
<span><img src="https://github.com/17ms/dlrs/blob/master/.github/docs/ferris.png" width="400"></span>
|
||||
</p>
|
||||
|
||||
### Installation and usage
|
||||
### Usage
|
||||
|
||||
Build and run with `cargo`.
|
||||
Download a [precompiled release](https://github.com/17ms/dlrs/releases) or build from source using `cargo build --release`.
|
||||
|
||||
```
|
||||
USAGE:
|
||||
|
Loading…
Reference in New Issue
Block a user