Skip to content

Commit

Permalink
ci: replace softprops/action-gh-release with GitHub CLI
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Mar 15, 2024
1 parent 8173e83 commit 495624b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main

env:
GH_TOKEN: ${{ github.token }}
RUSTUP_TOOLCHAIN: 1.76.0

jobs:
Expand All @@ -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

0 comments on commit 495624b

Please sign in to comment.