|
5 | 5 | pull_request: |
6 | 6 | merge_group: |
7 | 7 | schedule: # Trigger a job on default branch at 4AM PST everyday |
8 | | - - cron: "0 11 * * *" |
| 8 | + - cron: '0 11 * * *' |
9 | 9 |
|
10 | 10 | concurrency: |
11 | 11 | group: ${{ github.workflow }}-${{ github.event.compare || github.head_ref || github.ref }} |
|
71 | 71 | - name: Install Winget |
72 | 72 | uses: ./.github/actions/install-winget |
73 | 73 | with: |
74 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
75 | | - |
76 | | - - name: Install Winget PowerShell Module |
77 | | - shell: pwsh |
78 | | - run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force |
| 74 | + # windows-11-arm runner image does not include winget-cli (see https://github.com/actions/partner-runner-images/issues/95). |
| 75 | + force-cli-install: ${{ matrix.runner.name == 'windows-11-arm' && 'true' || 'false' }} |
79 | 76 |
|
80 | 77 | - name: Install LLVM ${{ matrix.llvm }} |
81 | 78 | uses: ./.github/actions/install-llvm |
@@ -115,35 +112,6 @@ jobs: |
115 | 112 | - name: Checkout Repository |
116 | 113 | uses: actions/checkout@v4 |
117 | 114 |
|
118 | | - - name: Checkout windows-drivers-rs actions |
119 | | - uses: actions/checkout@v4 |
120 | | - with: |
121 | | - repository: microsoft/windows-drivers-rs |
122 | | - ref: main |
123 | | - path: _temp/windows-drivers-rs |
124 | | - sparse-checkout: | |
125 | | - .github/actions |
126 | | - sparse-checkout-cone-mode: false |
127 | | - |
128 | | - - name: Copy actions to workspace |
129 | | - shell: pwsh |
130 | | - run: Copy-Item -Recurse -Force _temp/windows-drivers-rs/.github/actions .github/ |
131 | | - |
132 | | - - name: Install Winget |
133 | | - uses: ./.github/actions/install-winget |
134 | | - with: |
135 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
136 | | - |
137 | | - - name: Install Winget PowerShell Module |
138 | | - shell: pwsh |
139 | | - run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force |
140 | | - |
141 | | - - name: Install WDK (${{ matrix.wdk }}) |
142 | | - uses: ./.github/actions/install-wdk |
143 | | - with: |
144 | | - version: ${{ matrix.wdk }} |
145 | | - source: winget |
146 | | - |
147 | 115 | - name: Install Rust Toolchain |
148 | 116 | uses: dtolnay/rust-toolchain@stable |
149 | 117 |
|
|
0 commit comments