Github Actions test exporting variables [ci skip]

This commit is contained in:
Pentarctagon 2020-11-21 01:18:12 -06:00
parent 4f0d9f3c97
commit cec93a900b
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0
2 changed files with 6 additions and 1 deletions

View file

@ -24,7 +24,11 @@ jobs:
key: linux-01-master
- name: Ubuntu 20.04
run: ./.github/workflows/ci-scripts/ubuntu.sh master 2004 false scons gcc g++ 17 release true
run: |
export HI="hi"
echo "HI: $HI"
echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }'
./.github/workflows/ci-scripts/ubuntu.sh master 2004 false scons gcc g++ 17 release true
linux-02-master:
runs-on: ubuntu-20.04

View file

@ -22,6 +22,7 @@ echo "CXX_STD: $CXX_STD"
echo "CFG: $CFG"
echo "LTO: $LTO"
echo "CACHE_DIR: $CACHE_DIR"
echo "HI: $HI"
echo FROM wesnoth/wesnoth:"$IMAGE"-"$BRANCH" > utils/dockerbuilds/travis/Dockerfile-travis-"$IMAGE"-"$BRANCH"
echo COPY ./ /home/wesnoth-travis/ >> utils/dockerbuilds/travis/Dockerfile-travis-"$IMAGE"-"$BRANCH"