From ad9dc485274ebb8b3e713359608d78d26325b48d Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Sat, 27 Jan 2024 08:27:09 -0500 Subject: [PATCH] try --- .github/workflows/release-build.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 26441c0..0a4d2f8 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -10,7 +10,7 @@ env: CARGO_TERM_COLOR: always jobs: - # based off of https://github.com/houseabsolute/ubi/blob/master/.github/workflows/ci.yml + # based off of https://github.com/houseabsolute/soldr/blob/master/.github/workflows/ci.yml artifacts: strategy: matrix: @@ -19,10 +19,12 @@ jobs: bin: soldr - target: x86_64-unknown-linux-gnu bin: soldr - name: ${{ matrix.platform.os_name }} with rust ${{ matrix.toolchain }} + name: ${{ matrix.platform.target }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + - uses: extractions/setup-just@v1 - name: Install musl-tools on Linux run: sudo apt-get update --yes && sudo apt-get install --yes musl-tools if: contains(matrix.platform.target, 'musl') @@ -30,7 +32,9 @@ jobs: uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.platform.target }} - - name: Build + - name: Build UI + run: just install build-ui + - name: Build service shell: bash run: | cargo build --locked --release --target ${{ matrix.platform.target }} @@ -47,13 +51,13 @@ jobs: - name: Publish release artifacts uses: actions/upload-artifact@v3 with: - name: ubi-${{ matrix.platform.os_name }} - path: "ubi*" + name: soldr-${{ matrix.platform.os_name }} + path: "soldr*" if: startsWith( github.ref, 'refs/tags/v' ) - name: Publish GitHub release uses: softprops/action-gh-release@v1 with: draft: true - files: "ubi*" + files: "soldr*" body_path: Changes.md if: startsWith( github.ref, 'refs/tags/v' )