From f0a7d846d4547a8f35c97148b8e73588aa598412 Mon Sep 17 00:00:00 2001 From: Fabio Lenherr Date: Mon, 18 Sep 2023 16:34:58 +0200 Subject: [PATCH] chore: use action-gh-releaser --- .github/workflows/release.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df34a51..e60d6a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,16 +5,18 @@ on: jobs: release: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - target: [x86_64-unknown-linux-musl] steps: - - uses: actions/checkout@master - - name: Compile and release - uses: rust-build/rust-build.action@v1.4.3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v3 + - name: nightly-rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + - name: Build + run: cargo build --verbose + - name: Upload + uses: actions/upload-artifact@v3 with: - RUSTTARGET: ${{ matrix.target }} - EXTRA_FILES: "README.md LICENSE" + name: reset + path: target/release/reset +