Skip to content

Commit 4067f9e

Browse files
authored
Changed build process so every commit/tag creates a unique artifact fingerprint (#22)
1 parent c718bf6 commit 4067f9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ jobs:
4343
- uses: actions/checkout@v4
4444

4545
- name: Build frontend
46-
run: echo "Here we could do some proper build"
46+
run: |
47+
echo "Here we could do some proper build"
48+
# To make each commit generate a new version we add a file to the artifact
49+
echo "${{ github.ref }}" > app/frontend/github-ref.txt
4750
4851
- name: Extract short SHA
4952
run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)