Also build windows on push
This commit is contained in:
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
@@ -34,9 +34,20 @@ jobs:
|
||||
- name: test
|
||||
run: cargo test
|
||||
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: test
|
||||
run: cargo test
|
||||
|
||||
publish-aur:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-linux, build-macos]
|
||||
needs: [build-linux, build-macos, build-windows]
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user