- uses: msys2/setup-msys2@v2
with:
release: false
+ path-type: inherit
install: >-
rsync
openssh
mingw-w64-x86_64-toolchain
git
-<?php steps(false);?>
+ - name: Prepare environment (for mingw on Windows)
+ run: |
+ echo "\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ <?php steps(false);?>
# linux release builds
release:
- uses: msys2/setup-msys2@v2
with:
release: false
+ path-type: inherit
install: >-
rsync
openssh
mingw-w64-x86_64-toolchain
git
- - name: Install dependencies (Linux)
+ - name: Prepare environment (for mingw on Windows)
+ run: |
+ echo "\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -my \
OUTPUT_VARIABLE PROJECT_TAG
ERROR_VARIABLE GIT_ERROR_OUTPUT
)
-if(ERROR_OUTPUT)
+if(GIT_ERROR_OUTPUT)
message(NOTICE "git describe: ${GIT_ERROR_OUTPUT}")
endif()
string(STRIP "${PROJECT_TAG}" PROJECT_TAG)