diff options
| author | Mariot Tsitoara <[email protected]> | 2021-12-10 15:47:44 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-10 15:47:44 +0000 |
| commit | 4da871b6fc977dfc4d49ff65ba06c63a717ae53f (patch) | |
| tree | ac7ff0d9bd036dc2142b7135423d8c4c645c5d10 | |
| parent | Create rust.yml (diff) | |
| download | chan-downloader-4da871b6fc977dfc4d49ff65ba06c63a717ae53f.tar.xz chan-downloader-4da871b6fc977dfc4d49ff65ba06c63a717ae53f.zip | |
Create release.ymlv0.2.1
| -rw-r--r-- | .github/workflows/release.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f658d6e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Rust Release binary + +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 + - target: x86_64-apple-darwin + archive: zip + steps: + - uses: actions/checkout@master + - name: Compile and release + uses: rust-build/rust-build.action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUSTTARGET: ${{ matrix.target }} + ARCHIVE_TYPES: ${{ matrix.archive }} |