Skip to content

Commit 63e5bbd

Browse files
committed
Changed build process so every commit/tag creates a unique artifact fingerprint
1 parent f2580aa commit 63e5bbd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-app.yml

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

4545
- name: Build backend
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/backend/github-ref.txt
50+
4751
4852
- name: Extract short SHA
4953
run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)