Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Mar 8, 2024
1 parent db745e3 commit f0ea09b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 40 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,32 @@ jobs:
with:
name: hath-rust-universal-apple-darwin
path: target/release/hath-rust
release:
name: Release
needs: ["build-linux", "build-windows", "build-macos"]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v4
- name: Rename artifact
run: |
mv hath-rust-x86_64-unknown-linux-gnu/hath-rust hath-rust-x86_64-unknown-linux-gnu
mv hath-rust-aarch64-unknown-linux-gnu/hath-rust hath-rust-aarch64-unknown-linux-gnu
mv hath-rust-armv7-unknown-linux-gnueabihf/hath-rust hath-rust-armv7-unknown-linux-gnueabihf
mv hath-rust-x86_64-pc-windows-msvc/hath-rust.exe hath-rust-x86_64-pc-windows-msvc.exe
mv hath-rust-i686-pc-windows-msvc/hath-rust.exe hath-rust-i686-pc-windows-msvc.exe
mv hath-rust-universal-apple-darwin/hath-rust hath-rust-universal-apple-darwin
- name: Create release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
files: |
hath-rust-x86_64-unknown-linux-gnu
hath-rust-aarch64-unknown-linux-gnu
hath-rust-armv7-unknown-linux-gnueabihf
hath-rust-x86_64-pc-windows-msvc.exe
hath-rust-i686-pc-windows-msvc.exe
hath-rust-universal-apple-darwin
40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit f0ea09b

Please sign in to comment.