Update build.yml

This commit is contained in:
Aleksandr Shpak 2021-08-02 12:09:46 +03:00 committed by GitHub
parent c41a4b037b
commit dbf7fb79c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ jobs:
docker run -d -p 9050:9050 testing_torsocks
CONTAINER_ID=$(docker ps -q --filter ancestor=testing_torsocks)
TOR_VERSION="$(docker exec ${CONTAINER_ID} tor --version | sed 's/[^0-9.]*\([0-9.]*\).[0-9]*/\1/'"
echo ${TOR_VERSION}
echo "##[set-output name=name;]$(echo ${GITHUB_REPOSITORY#*/})"
echo "##[set-output name=ver;]$(echo ${TOR_VERSION})"
id: extract_name_and_version