From 10e1991752eae108fc96485e35dd2a643683af90 Mon Sep 17 00:00:00 2001 From: vicanso Date: Tue, 15 Oct 2024 19:35:36 +0800 Subject: [PATCH] chore: add windows workflow --- .github/workflows/windows.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 00000000..2cb9d465 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,27 @@ +name: "publish" +on: + push: + # tags: ["v[0-9]+.[0-9]+.[0-9]+*"] + branches: [windows] + +env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + CARGO_TERM_COLOR: always + +jobs: + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: setup node + uses: actions/setup-node@v4 + - name: build-web + run: make build-web + - name: Install toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ matrix.toolchain }} + components: rustfmt, clippy + - name: Run cargo release + run: | + cargo build --release --features=tracking