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 . -