Merge pull request #6 from 17ms/dev

Create precompiled releases
This commit is contained in:
17ms 2023-06-30 12:08:46 +03:00 committed by GitHub
commit d462243c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

38
.github/workflows/release.yaml vendored Normal file
View 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 }}

View File

@ -1,10 +1,10 @@
<p align="center"> <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> </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: USAGE: