Remove deprecated set-env directive from CI files

set-env were removed due to security concerns.
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
Paulo Matos 2020-11-17 06:50:14 +01:00
parent 5dd687b77d
commit 4268091c7b
3 changed files with 28 additions and 28 deletions

View File

@ -27,16 +27,16 @@ jobs:
fetch-depth: 100
- name: Setup jit if ARM
if: matrix.arch == 'ARM'
run: echo "::set-env name=JIT_OPTION::--enable-jit --enable-futures"
run: echo "JIT_OPTION=--enable-jit --enable-futures" >> $GITHUB_ENV
- name: Setup jit if ARM64
if: matrix.arch == 'ARM64'
run: echo "::set-env name=JIT_OPTION::--disable-jit --disable-futures"
run: echo "JIT_OPTION=--disable-jit --disable-futures" >> $GITHUB_ENV
- name: Setup cify if enabled
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- name: Configuring Racket CGC
working-directory: ./racket/src
run: >
@ -90,16 +90,16 @@ jobs:
fetch-depth: 100
- name: Setup cify if enabled
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- name: Setup ep if enabled
if: matrix.ep == 'ep'
run: echo "::set-env name=EP_OPTIONS::--enable-extflonums --enable-places"
run: echo "EP_OPTIONS=--enable-extflonums --enable-places" >> $GITHUB_ENV
- name: Setup efp if disabled
if: matrix.efp == 'noep'
run: echo "::set-env name=EP_OPTIONS::--disable-extflonums --disable-places"
run: echo "EP_OPTIONS=--disable-extflonums --disable-places" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with:
name: racketcgc-debian10-cify-${{ matrix.arch }}_git${{ github.sha }}
@ -228,7 +228,7 @@ jobs:
working-directory: /usr/local
run: tar -xvjf /tmp/racket3m-debian10-${{ matrix.cify }}-${{ matrix.ep }}-${{ matrix.arch }}_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
run: echo "::set-env name=PATH::/usr/local/racket3m/bin:$PATH"
run: echo "/usr/local/racket3m/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages
@ -298,7 +298,7 @@ jobs:
working-directory: /usr/local
run: tar -xvjf /tmp/racketcs-debian10-${{ matrix.arch }}_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
run: echo "::set-env name=PATH::/usr/local/racketcs/bin:$PATH"
run: echo "/usr/local/racketcs/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages

View File

@ -24,10 +24,10 @@ jobs:
fetch-depth: 100
- name: Setup cify if enabled
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- name: Configuring Racket CGC
working-directory: ./racket/src
run: >
@ -83,22 +83,22 @@ jobs:
fetch-depth: 100
- name: Setup cify if enabled
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- name: Setup jit if enabled
if: matrix.jit == 'jit'
run: echo "::set-env name=JIT_OPTION::--enable-jit"
run: echo "JIT_OPTION=--enable-jit" >> $GITHUB_ENV
- name: Setup jit if disabled
if: matrix.jit == 'nojit'
run: echo "::set-env name=JIT_OPTION::--disable-jit"
run: echo "JIT_OPTION=--disable-jit" >> $GITHUB_ENV
- name: Setup efp if enabled
if: matrix.efp == 'efp'
run: echo "::set-env name=EFP_OPTIONS::--enable-extflonums --enable-places --enable-futures"
run: echo "EFP_OPTIONS=--enable-extflonums --enable-places --enable-futures" >> $GITHUB_ENV
- name: Setup efp if disabled
if: matrix.efp == 'noefp'
run: echo "::set-env name=EFP_OPTIONS::--disable-extflonums --disable-places --disable-futures"
run: echo "EFP_OPTIONS=--disable-extflonums --disable-places --disable-futures" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with:
name: racketcgc-debian10-nocify-x64_git${{ github.sha }}
@ -224,7 +224,7 @@ jobs:
working-directory: /usr/local
run: tar -xvjf /tmp/racketcgc-debian10-${{ matrix.cify }}-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
run: echo "::set-env name=PATH::/usr/local/racketcgc/bin:$PATH"
run: echo "/usr/local/racketcgc/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog
@ -300,7 +300,7 @@ jobs:
working-directory: /usr/local
run: tar -xvjf /tmp/racket3m-debian10-${{ matrix.cify }}-${{ matrix.jit }}-${{ matrix.efp }}-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
run: echo "::set-env name=PATH::/usr/local/racket3m/bin:$PATH"
run: echo "/usr/local/racket3m/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages
@ -364,7 +364,7 @@ jobs:
working-directory: /usr/local
run: tar -xvjf /tmp/racketcs-debian10-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
run: echo "::set-env name=PATH::/usr/local/racketcs/bin:$PATH"
run: echo "/usr/local/racketcs/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages

View File

@ -24,10 +24,10 @@ jobs:
fetch-depth: 100
- name: Setup cify if enabled1
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- name: Configuring Racket CGC
working-directory: ./racket/src
run: >
@ -79,10 +79,10 @@ jobs:
fetch-depth: 100
- name: Setup cify if enabled
if: matrix.cify == 'cify'
run: echo "::set-env name=CIFY_OPTION::--enable-cify"
run: echo "CIFY_OPTION=--enable-cify" >> $GITHUB_ENV
- name: Setup cify if disabled
if: matrix.cify == 'nocify'
run: echo "::set-env name=CIFY_OPTION::--disable-cify"
run: echo "CIFY_OPTION=--disable-cify" >> $GITHUB_ENV
- uses: actions/download-artifact@v2
with:
name: racketcgc-macos-nocify-x64_git${{ github.sha }}
@ -196,7 +196,7 @@ jobs:
run: tar -xvjf racketcgc-macos-${{ matrix.cify }}-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
working-directory: ${{ github.workspace }}
run: echo "::set-env name=PATH::$PWD/racketcgc/bin:$PATH"
run: echo "$PWD/racketcgc/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog
@ -261,7 +261,7 @@ jobs:
run: tar -xvjf racket3m-macos-${{ matrix.cify }}-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
working-directory: ${{ github.workspace }}
run: echo "::set-env name=PATH::$PWD/racket3m/bin:$PATH"
run: echo "$PWD/racket3m/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages
@ -321,7 +321,7 @@ jobs:
run: tar -xvjf racketcs-macos-x64_git${{ github.sha }}.tar.bz2
- name: Extend PATH with Racket executable
working-directory: ${{ github.workspace }}
run: echo "::set-env name=PATH::$PWD/racketcs/bin:$PATH"
run: echo "$PWD/racketcs/bin" >> $GITHUB_PATH
- name: Check for Racket
run: racket --version
- name: Install catalog and required packages