Skip to content

Commit

Permalink
[uni] update release.yml
Browse files Browse the repository at this point in the history
portable bins are now called aplang-portable
  • Loading branch information
snowfoxsh authored Feb 13, 2025
1 parent b712b67 commit 02be891
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@ jobs:
uses: actions/checkout@v4

- name: Build
run: cargo build --release --no-default-features --features portable --bin aplang
run: |
cargo build --release --no-default-features --features portable --bin aplang
mv target/release/aplang.exe target/release/aplang-portable.exe
- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-windows-portable-binary
path: target/release/aplang.exe
path: target/release/aplang-portable.exe

build-macos:
runs-on: macos-latest
Expand All @@ -50,13 +53,15 @@ jobs:
uses: actions/checkout@v4

- name: Build
run: cargo build --release --no-default-features --features portable --bin aplang
run: |
cargo build --release --no-default-features --features portable --bin aplang
mv target/release/aplang target/release/aplang-portable
- name: Upload build artifact
uses: actions/upload-artifact@v4.6.0
with:
name: aplang-macos-binary
path: target/release/aplang
path: target/release/aplang-portable

build-macos-portable:
runs-on: macos-latest
Expand All @@ -73,3 +78,12 @@ jobs:
with:
name: aplang-macos-portable-binary
path: target/release/aplang

release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs: [build-windows, build-windows-portable, build-macos, build-macos-portable]

steps:
- name: Download all artifacts

0 comments on commit 02be891

Please # to comment.