replace add-path with GITHUB_ENV (#3447)

This commit is contained in:
xxyzz 2020-10-20 06:02:56 +00:00 committed by GitHub
parent 3b34b0ce02
commit 3be1d49652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 15 deletions

View File

@ -22,12 +22,8 @@ jobs:
export cpus=$(grep -c ^processor /proc/cpuinfo)
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='--enable-asan' cs-in-place 2>&1 | tee logs/build.log
- name: Add new racket to PATH
# This should be:
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
# so we hard code the real value
run: |
echo "::add-path::/__w/racket/racket/racket/bin"
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
find /__w/racket/racket/racket/bin -type f
- name: Racket version
run: |

View File

@ -21,12 +21,8 @@ jobs:
export cpus=$(grep -c ^processor /proc/cpuinfo)
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' RACKETBC_SUFFIX="" bc-in-place 2>&1 | tee logs/build.log
- name: Add new racket to PATH
# This should be:
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
# so we hard code the real value
run: |
echo "::add-path::/__w/racket/racket/racket/bin"
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
find /__w/racket/racket/racket/bin -type f
- name: Racket version
run: |
@ -107,12 +103,8 @@ jobs:
export cpus=$(grep -c ^processor /proc/cpuinfo)
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' cs-in-place 2>&1 | tee logs/build.log
- name: Add new racket to PATH
# This should be:
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
# so we hard code the real value
run: |
echo "::add-path::/__w/racket/racket/racket/bin"
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
find /__w/racket/racket/racket/bin -type f
- name: Racket version
run: |