From ab3f022734e560bf3e3bd422b34f2e08c53db1ca Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Sat, 22 Jul 2023 09:43:11 -0500 Subject: [PATCH] Remove anything related to installing cross on Windows There are no targets on Windows that require cross so this is never getting invoked. --- action.yml | 8 +------- install-cross-windows.ps1 | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100755 install-cross-windows.ps1 diff --git a/action.yml b/action.yml index c6f4903..45b38e0 100644 --- a/action.yml +++ b/action.yml @@ -47,13 +47,7 @@ runs: - name: Install cross if cross-compiling (*nix) shell: bash run: install-cross-nix.sh - if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' && runner.os != 'Windows' }} - 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' }} + if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'true' }} env: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} - name: Set build command diff --git a/install-cross-windows.ps1 b/install-cross-windows.ps1 deleted file mode 100755 index 6c9cd71..0000000 --- a/install-cross-windows.ps1 +++ /dev/null @@ -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 . -