From 7265587300109af47f8a5ce3f12e9f103f6aa7aa Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Mon, 16 Nov 2020 22:11:05 +0200 Subject: [PATCH] Switch to msys2 in windows workflow --- .github/workflows/windows.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fa473a3..5aaaed7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,20 +8,20 @@ jobs: runs-on: windows-latest env: OF_URL: https://openframeworks.cc/versions/v0.11.0/of_v0.11.0_msys264_release.zip + defaults: + run: + shell: msys2 {0} steps: + - uses: msys2/setup-msys2@v2 + with: + update: true + install: base-devel git - uses: actions/checkout@v2 with: fetch-depth: 1 - name: Move files to temporary location - run: | - New-Item -Path "../" -Name "Temp" -ItemType "directory" - Move-Item -Path "./*" -Destination "../Temp/" - Get-ChildItem -Path "../Temp" - Get-ChildItem -Path "./" - - name: Test MSys2 - run: bash.exe + run: pwd && whoami - name: Download and unzip openFrameworks run: | curl --help - curl --location --progress-bar --output openFrameworks.zip $Env:OF_URL - unzip openFrameworks.zip + echo ${OF_URL}