Skip to content

Commit

Permalink
Fix GITHUB_REF in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Oct 22, 2021
1 parent 0c82904 commit ad536f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit ad536f3

Please sign in to comment.