From e69e931993aeb8921babc08ec0971e6f6f7a1d9d Mon Sep 17 00:00:00 2001 From: Simon Hartcher Date: Sat, 20 Jul 2024 12:39:46 +1000 Subject: [PATCH] chore: first commit --- .github/workflows/build.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c6d163c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,38 @@ +name: Build Zed Nightly + +on: + schedule: + - cron: "0 0 * * *" # Runs every night at midnight UTC + push: + branches: + - main + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + repository: zed-industries/zed + ref: main + + - name: Install rust nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + target: wasm32-wasi + + - name: Build release + uses: actions-rs/cargo@v1 + with: + command: build + args: --release + + - name: Archive build + uses: actions/upload-artifact@v3 + with: + name: zed-release + path: target/release