Skip to content

Commit

Permalink
Get version in the Build job as well
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Apr 25, 2021
1 parent f2690bc commit 4e858a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4e858a2

Please sign in to comment.