only run windows compile on main branch (#8216)
This commit is contained in:
@@ -79,8 +79,7 @@ jobs:
|
|||||||
rust-build-windows:
|
rust-build-windows:
|
||||||
name: Build Rust Project on Windows
|
name: Build Rust Project on Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
needs: changes
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
if: needs.changes.outputs.code == 'true' || github.event_name != 'pull_request'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user