From 4e858a22c90bf1ad4ead60daf4f4804f9e20c06e Mon Sep 17 00:00:00 2001 From: Gustavo6046 Date: Sun, 25 Apr 2021 01:56:36 -0300 Subject: [PATCH] Get version in the Build job as well --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2dac7d..1d7c569 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,11 @@ jobs: - name: Package ZetaBot run: ./build + - name: Get version + run: | + source ./version.sh + echo "VERSION=$VERSION" >>$GITHUB_ENV + - name: Upload as artifact uses: actions/upload-artifact@v2 with: