Update cmake-windows.yml
This commit is contained in:
parent
9b067fa1ea
commit
a0dd5aeb74
1 changed files with 13 additions and 3 deletions
16
.github/workflows/cmake-windows.yml
vendored
16
.github/workflows/cmake-windows.yml
vendored
|
@ -4,7 +4,7 @@ env:
|
|||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Release
|
||||
jobs:
|
||||
build:
|
||||
install:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
|
||||
|
@ -35,9 +35,19 @@ jobs:
|
|||
|
||||
- name: Clone repos
|
||||
shell: powershell
|
||||
run: git clone https://github.com/xmrig/xmrig.git
|
||||
- shell: powershell
|
||||
run: |
|
||||
$URL_Latest = Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url'
|
||||
Get-Variable URL_Latest
|
||||
$URL_Latest = $URL_Latest -replace '"', ""
|
||||
Start-BitsTransfer -Source $URL_Latest -Destination "xmrig-deps.zip"
|
||||
|
||||
- shell: msys2 {0}
|
||||
run: |
|
||||
git clone https://github.com/xmrig/xmrig.git
|
||||
## quitar ## git clone https://github.com/xmrig/xmrig-deps.git
|
||||
pacman -S unzip
|
||||
unzip xmrig-deps.zip
|
||||
mv xmrig-xmrig* xmrig-deps
|
||||
|
||||
- shell: powershell
|
||||
run: Invoke-WebRequest -Uri https://api.github.com/repos/xmrig/xmrig-deps/releases/latest | Select-Object -Expand Content | jq '.zipball_url'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue