diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3e6da39..28c314b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,7 +8,7 @@ permissions: packages: write jobs: - build-server: + server-docker: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -47,7 +47,7 @@ jobs: cache-to: type=gha,mode=max tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - build-cli: + cli-docker: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -86,3 +86,21 @@ jobs: cache-to: type=gha,mode=max tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + binaries: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Build binary + id: compile + uses: rust-build/rust-build.action@v1.4.5 + with: + RUSTTARGET: x86_64-unknown-linux-musl + UPLOAD_MODE: none + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + path: | + ${{ steps.compile.outputs.BUILT_ARCHIVE }} + ${{ steps.compile.outputs.BUILT_CHECKSUM }}