add version info

This commit is contained in:
Thomas Amland
2020-08-07 11:41:47 +02:00
parent b03377c121
commit d5e9dc719d
3 changed files with 9 additions and 6 deletions
+4 -1
View File
@@ -2,6 +2,9 @@ name: CI
on: [push, pull_request]
env:
VERSION: ${{ github.sha }}
jobs:
build:
runs-on: ubuntu-latest
@@ -16,7 +19,7 @@ jobs:
run: yarn install
- name: Build
run: yarn build
run: VUE_APP_VERSION=$VERSION yarn build
- name: Upload artifact
uses: actions/upload-artifact@v2