Remove anything related to installing cross on Windows

There are no targets on Windows that require cross so this is never getting
invoked.
This commit is contained in:
Dave Rolsky 2023-07-22 09:43:11 -05:00
parent e41de97f0a
commit ab3f022734
No known key found for this signature in database
2 changed files with 1 additions and 11 deletions

View File

@ -47,13 +47,7 @@ runs:
- name: Install cross if cross-compiling (*nix) - name: Install cross if cross-compiling (*nix)
shell: bash shell: bash
run: install-cross-nix.sh run: install-cross-nix.sh
if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' && runner.os != 'Windows' }} if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' }}
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
- name: Install cross if cross-compiling (Windows)
shell: powershell
run: install-cross-windows.ps1
if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' && runner.os == 'Windows' }}
env: env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
- name: Set build command - name: Set build command

View File

@ -1,4 +0,0 @@
cd $Env:RUNNER_TEMP
Invoke-WebRequest -URI 'https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.ps1' -UseBasicParsing | Invoke-Expression
.\ubi --project cross-rs/cross --in .