Skip to content

Commit

Permalink
Remove unsupported set-env calls from GitHub action workflow. (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Feb 6, 2021
1 parent e6f56dc commit 245535d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set revision
run: |
# Set environment variable with the latest revision hash.
echo "::set-env name=GIT_DOWNWARD_REV::`git ls-remote --exit-code --quiet https://github.com/aibasel/downward.git HEAD | cut -f1`"
echo "GIT_DOWNWARD_REV=`git ls-remote --exit-code --quiet https://github.com/aibasel/downward.git HEAD | cut -f1`" >> $GITHUB_ENV
# Compile each Fast Downward revision only once and cache the results.
- name: Cache revisions
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
mkdir ../deps
pushd ../deps
# Add directory to PATH.
echo "::add-path::$(pwd)"
echo "$(pwd)" >> $GITHUB_PATH
- name: Compile FF
working-directory: ../deps
Expand Down Expand Up @@ -91,29 +91,29 @@ jobs:
run: |
export DOWNWARD_BENCHMARKS=`realpath downward-benchmarks`
git clone --depth 1 https://github.com/aibasel/downward-benchmarks ${DOWNWARD_BENCHMARKS}
echo "::set-env name=DOWNWARD_BENCHMARKS::${DOWNWARD_BENCHMARKS}"
echo "DOWNWARD_BENCHMARKS=${DOWNWARD_BENCHMARKS}" >> $GITHUB_ENV
- name: Clone Fast Downward Mercurial
working-directory: ../deps
run: |
sudo apt-get -y install cmake g++ git make python3
export HG_DOWNWARD_REPO=`realpath fast-downward`
hg clone http://hg.fast-downward.org ${HG_DOWNWARD_REPO}
echo "::set-env name=HG_DOWNWARD_REPO::${HG_DOWNWARD_REPO}"
echo "HG_DOWNWARD_REPO=${HG_DOWNWARD_REPO}" >> $GITHUB_ENV
- name: Clone Fast Downward Git
working-directory: ../deps
run: |
export GIT_DOWNWARD_REPO=`realpath fast-downward-git`
git clone --depth 1 https://github.com/aibasel/downward.git ${GIT_DOWNWARD_REPO}
echo "::set-env name=GIT_DOWNWARD_REPO::${GIT_DOWNWARD_REPO}"
echo "GIT_DOWNWARD_REPO=${GIT_DOWNWARD_REPO}" >> $GITHUB_ENV
- name: Download example Singularity image
working-directory: ../deps
run: |
wget --no-verbose https://ai.dmi.unibas.ch/_tmp_files/seipp/lama-first.img
export SINGULARITY_IMAGES=`realpath .`
echo "::set-env name=SINGULARITY_IMAGES::${SINGULARITY_IMAGES}"
echo "SINGULARITY_IMAGES=${SINGULARITY_IMAGES}" >> $GITHUB_ENV
- name: Run tests
run: |
Expand Down

0 comments on commit 245535d

Please sign in to comment.