Skip to content

Commit

Permalink
CI: Replace deprecated GHA ::set-env and ::add-path
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Oct 14, 2020
1 parent 046eca1 commit 0324d38
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
steps:
- uses: actions/checkout@master

- run: echo "::set-env name=PARPE_BASE::$(pwd)"
- run: echo "::set-env name=PARPE_BUILD::${PARPE_BASE}/build"
- run: echo "::set-env name=AMICI_PATH::${PARPE_BASE}/deps/AMICI/"
- run: echo "PARPE_BASE=$(pwd)" >> $GITHUB_ENV
- run: echo "PARPE_BUILD=${PARPE_BASE}/build" >> $GITHUB_ENV
- run: echo "AMICI_PATH=${PARPE_BASE}/deps/AMICI/" >> $GITHUB_ENV

# Build dependencies

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/parpe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- uses: actions/checkout@master
- run: git fetch --prune --unshallow

- run: echo "::set-env name=PARPE_BASE::$(pwd)"
- run: echo "::set-env name=PARPE_BUILD::${PARPE_BASE}/build"
- run: echo "::set-env name=AMICI_PATH::${PARPE_BASE}/deps/AMICI/"
- run: echo "PARPE_BASE=$(pwd)" >> $GITHUB_ENV
- run: echo "PARPE_BUILD=${PARPE_BASE}/build" >> $GITHUB_ENV
- run: echo "AMICI_PATH=${PARPE_BASE}/deps/AMICI/" >> $GITHUB_ENV

# sonar cloud
- run: echo "::set-env name=SONAR_SCANNER_VERSION::4.2.0.1873"
- run: echo "::set-env name=SONAR_SCANNER_HOME::/root/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux"
- run: echo "::set-env name=SONAR_SCANNER_OPTS::-server"
- run: echo "::add-path::${SONAR_SCANNER_HOME}/bin"
- run: echo "::add-path::/root/.sonar/build-wrapper-linux-x86"
- run: echo "SONAR_SCANNER_VERSION=4.2.0.1873" >> $GITHUB_ENV
- run: echo "SONAR_SCANNER_HOME=/root/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux" >> $GITHUB_ENV
- run: echo "SONAR_SCANNER_OPTS=-server" >> $GITHUB_ENV
- run: echo "${SONAR_SCANNER_HOME}/bin" >> $GITHUB_PATH
- run: echo "/root/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH

- name: Info
run: lsb_release -a && printenv
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/petab_testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
steps:
- uses: actions/checkout@master

- run: echo "::set-env name=PARPE_BASE::$(pwd)"
- run: echo "::set-env name=PARPE_BUILD::${PARPE_BASE}/build"
- run: echo "::set-env name=AMICI_PATH::${PARPE_BASE}/deps/AMICI/"
- run: echo "PARPE_BASE=$(pwd)" >> $GITHUB_ENV
- run: echo "PARPE_BUILD=${PARPE_BASE}/build" >> $GITHUB_ENV
- run: echo "AMICI_PATH=${PARPE_BASE}/deps/AMICI/" >> $GITHUB_ENV

# Build dependencies

Expand Down

0 comments on commit 0324d38

Please sign in to comment.