From 495624b859b8da3627164193028d16e3d734c969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 15 Mar 2024 15:20:00 +0100 Subject: [PATCH] ci: replace softprops/action-gh-release with GitHub CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16ff4a3..263076c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: - main env: + GH_TOKEN: ${{ github.token }} RUSTUP_TOOLCHAIN: 1.76.0 jobs: @@ -28,11 +29,4 @@ jobs: ./dist.sh ${{ env.RUSTUP_TOOLCHAIN }} aarch64-unknown-hermit ./dist.sh ${{ env.RUSTUP_TOOLCHAIN }} riscv64gc-unknown-hermit ./dist.sh ${{ env.RUSTUP_TOOLCHAIN }} x86_64-unknown-hermit - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: | - rust/build/dist/rust-std-${{ env.RUSTUP_TOOLCHAIN }}-aarch64-unknown-hermit.tar.gz - rust/build/dist/rust-std-${{ env.RUSTUP_TOOLCHAIN }}-riscv64gc-unknown-hermit.tar.gz - rust/build/dist/rust-std-${{ env.RUSTUP_TOOLCHAIN }}-x86_64-unknown-hermit.tar.gz - tag_name: ${{ env.RUSTUP_TOOLCHAIN }} + - run: gh release create ${{ env.RUSTUP_TOOLCHAIN }} --title ${{ env.RUSTUP_TOOLCHAIN }} rust/build/dist/*.tar.gz