chore(ci): discontinue github releases

This commit is contained in:
Cain 2024-11-26 12:29:09 +00:00
parent 3bcf9385f2
commit 98cff08512

View file

@ -1,35 +0,0 @@
name: Release
on:
release:
types: [created]
workflow_dispatch:
jobs:
release:
if: startsWith(github.event.release.tag_name, 'cli-')
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
- target: wasm32-wasi
archive: zip tar.gz
steps:
- uses: actions/checkout@v4
- name: Compile and release
uses: rust-build/rust-build.action@v1.4.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
SRC_DIR: ./crates/cli