Skip to content

Commit

Permalink
Merge pull request #43 from Moros1138/fix-workflows
Browse files Browse the repository at this point in the history
add environment variables to example, before copying
  • Loading branch information
Moros1138 authored May 2, 2024
2 parents fe77892 + 561cc4c commit 51a8c21
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-on-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
id: vars
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Copy environment file and set version
run: cp .env.example .env

- name: Add "VERSION" hash to .env
run: echo "VERSION=${{ steps.vars.outputs.sha }}" >> .env
run: echo "VERSION=${{ steps.vars.outputs.sha }}" >> .env.example

- name: Add "VITE_VERSION" hash to .env
run: echo "VITE_VERSION=${{ steps.vars.outputs.sha }}" >> .env
run: echo "VITE_VERSION=${{ steps.vars.outputs.sha }}" >> .env.example

- name: Copy environment file and set version
run: cp .env.example .env

- name: Build Library Objects
run: bash build-libs.sh
Expand Down

0 comments on commit 51a8c21

Please sign in to comment.