From 02be891ec4dc4d7a17c3febfd8daab5e85de681f Mon Sep 17 00:00:00 2001 From: Patrick Unick Date: Thu, 13 Feb 2025 12:20:22 -0800 Subject: [PATCH] [uni] update release.yml portable bins are now called aplang-portable --- .github/workflows/release.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bfaeb8..20a87eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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 +