fix(ci): embed release version in frontend (#999)

This commit is contained in:
kolaente 2025-06-24 10:51:42 +02:00 committed by GitHub
parent 247d82f086
commit d3e5cc14ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -268,6 +268,13 @@ jobs:
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: ./.github/actions/setup-frontend - uses: ./.github/actions/setup-frontend
- name: Git describe
id: ghd
uses: proudust/gh-describe@v2
- name: Inject frontend version
working-directory: frontend
run: |
echo "{\"VERSION\": \"${{ steps.ghd.outputs.describe }}\"}" > src/version.json
- name: Build frontend - name: Build frontend
working-directory: frontend working-directory: frontend
run: pnpm build run: pnpm build