https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a7cb59728dd6efbcf9fcc…
commit a7cb59728dd6efbcf9fccee626da5da1b59818c5
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Thu Jan 28 06:51:54 2021 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Thu Jan 28 06:57:33 2021 +0300
[GITHUB] Fix PATH setting for Flex and Bison
---
.github/workflows/build.yml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fc5600f9200..398ea95c2b2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -109,9 +109,9 @@ jobs:
run: |
curl -O
https://svn.reactos.org/storage/vperevertkin/flexbison.7z
7z x flexbison.7z -O${{github.workspace}}\bin
- echo "${{github.workspace}}\bin" >> $GITHUB_PATH
- echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" >>
$GITHUB_ENV
- echo "M4=${{github.workspace}}\bin\m4.exe" >> $GITHUB_ENV
+ echo "${{github.workspace}}\bin" | Out-File -FilePath $env:GITHUB_PATH
-Encoding utf8 -Append
+ echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" |
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+ echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
- name: Add CL to PATH
uses: ilammy/msvc-dev-cmd@v1
with:
@@ -144,9 +144,9 @@ jobs:
run: |
curl -O
https://svn.reactos.org/storage/vperevertkin/flexbison.7z
7z x flexbison.7z -O${{github.workspace}}\bin
- echo "${{github.workspace}}\bin" >> $GITHUB_PATH
- echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" >>
$GITHUB_ENV
- echo "M4=${{github.workspace}}\bin\m4.exe" >> $GITHUB_ENV
+ echo "${{github.workspace}}\bin" | Out-File -FilePath $env:GITHUB_PATH
-Encoding utf8 -Append
+ echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" |
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+ echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
- name: Add CL to PATH
uses: ilammy/msvc-dev-cmd@v1
with:
@@ -188,9 +188,9 @@ jobs:
run: |
curl -O
https://svn.reactos.org/storage/vperevertkin/flexbison.7z
7z x flexbison.7z -O${{github.workspace}}\bin
- echo "${{github.workspace}}\bin" >> $GITHUB_PATH
- echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" >>
$GITHUB_ENV
- echo "M4=${{github.workspace}}\bin\m4.exe" >> $GITHUB_ENV
+ echo "${{github.workspace}}\bin" | Out-File -FilePath $env:GITHUB_PATH
-Encoding utf8 -Append
+ echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" |
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+ echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
- name: Add CL to PATH
uses: ilammy/msvc-dev-cmd@v1
with: