From 9f411497ad4595aad7e0499fb60bcced7f795367 Mon Sep 17 00:00:00 2001 From: Jonathan Frankel Date: Sat, 5 Aug 2023 16:57:27 +0800 Subject: [PATCH] trying to get github to build release --- .github/workflows/build.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..824a00d --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,26 @@ +# .github/workflows/build.yml +name: Build + +on: + push: + branches: [main] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Compile + id: compile + uses: rust-build/rust-build.action@v1.4.3 + with: + RUSTTARGET: x86_64-unknown-linux-musl + UPLOAD_MODE: none + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: Binary + path: | + ${{ steps.compile.outputs.BUILT_ARCHIVE }} + ${{ steps.compile.outputs.BUILT_CHECKSUM }} \ No newline at end of file