Fix version environment variable in build action
This commit is contained in:
parent
e3f1b72d8c
commit
30dff4fd69
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: echo VITE_VERSION=git-${GITHUB_SHA::6} > .env
|
- run: echo VITE_APP_VERSION=git-${GITHUB_SHA::6} > .env
|
||||||
- run: cat .env
|
- run: cat .env
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user