From ad536f36987b2627280db413fc5135952bb37745 Mon Sep 17 00:00:00 2001 From: Mads Ynddal <5528170+Baekalfen@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:04:35 +0200 Subject: [PATCH] Fix GITHUB_REF in Docker --- .github/workflows/pr-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index fb5a2342f..cf05a9868 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -125,7 +125,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: quay.io/pypa/manylinux2010_x86_64:latest - options: -v ${{ github.workspace }}:/work --rm + options: -v ${{ github.workspace }}:/work -e GITHUB_REF=${{ github.ref }} --rm run: | echo "Linking Python version ${{ matrix.python-version }}" ln -s "/opt/python/${{ matrix.python-version }}/bin/python3" /usr/local/bin/python @@ -137,7 +137,6 @@ jobs: cd /work echo "Starting build" - export GITHUB_REF=${{env.GITHUB_REF}} python setup.py build_ext --inplace echo "Starting tests"