ensure git-hash.js is in dist folder

This commit is contained in:
2025-08-31 17:01:10 +02:00
parent 90771b85e9
commit 7912f59fb8

View File

@@ -17,9 +17,9 @@ jobs:
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Write GITHUB_SHA into dist
run: echo "export const GITHUB_SHA = '$GITHUB_SHA';" > dist/git-hash.js
run: |
bun run build
echo "export const GITHUB_SHA = '$GITHUB_SHA';" > dist/git-hash.js
- name: Create Build Artifact
uses: christopherhx/gitea-upload-artifact@v4
with: