Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
fix: only build aether-core
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Jul 26, 2024
1 parent 44cf957 commit 131ebb7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ jobs:
- name: Build
run: |
cd aether-core
cargo build --release --target x86_64-unknown-linux-gnu
cd ../
- name: Prepare package
run: |
mkdir linux
cp target/x86_64-unknown-linux-gnu/release/${{ env.binary }} linux/
cp -r assets linux/ || true # Try to copy, but ignore if it can't copy if source directory does not exist
- name: Package as a zip
working-directory: ./linux
Expand Down Expand Up @@ -94,14 +95,14 @@ jobs:

- name: Build
run: |
cd aether-core
cargo build --release --target x86_64-pc-windows-msvc
cd ../
- name: Prepare package
run: |
mkdir windows
cp target/x86_64-pc-windows-msvc/release/${{ env.binary }}.exe windows/
mkdir assets -ea 0 # create the assets directory if it does not exist, it will get ignored in the zip if empty
cp -r assets windows/
- name: Package as a zip
run: |
Expand Down Expand Up @@ -137,13 +138,14 @@ jobs:
- name: Build
run: |
cd aether-core
cargo build --release --target aarch64-apple-darwin
cd ../
- name: Prepare Package
run: |
mkdir -p ${{ env.binary }}.app/Contents/MacOS
cp target/aarch64-apple-darwin/release/${{ env.binary }} ${{ env.binary }}.app/Contents/MacOS/
cp -r assets ${{ env.binary }}.app/Contents/MacOS/ || true # Try to copy, but ignore if it can't copy if source directory does not exist
hdiutil create -fs HFS+ -volname "${{ env.binary }}-macOS-apple-silicon" -srcfolder ${{ env.binary }}.app ${{ env.binary }}-macOS-apple-silicon.dmg
- name: Upload binaries to artifacts
Expand Down

0 comments on commit 131ebb7

Please sign in to comment.