Fix environment

This commit is contained in:
Alex Root Junior 2020-11-30 01:30:39 +02:00
parent d6b4651392
commit b6470ccac4

View File

@ -34,9 +34,8 @@ jobs:
with: with:
format: YYYYMMDD format: YYYYMMDD
- name: Set version - name: Set version
env:
TG_SERVER_VERSION: $(cat telegram-bot-api/CMakeLists.txt | grep TelegramBotApi | cut -d " " -f3)
run: | run: |
TG_SERVER_VERSION=$(cat telegram-bot-api/CMakeLists.txt | grep TelegramBotApi | cut -d " " -f3)
echo "Parsed version: ${TG_SERVER_VERSION}" echo "Parsed version: ${TG_SERVER_VERSION}"
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2