Add the git SHA to the build ID.

The build number is actually a pain to use. The git SHA is much more
useful.
This commit is contained in:
Dan Albert
2022-10-15 12:28:38 -07:00
parent b50219ba0b
commit 575cbf659c
2 changed files with 15 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ jobs:
- name: Set build number
run: |
[IO.File]::WriteAllLines($pwd.path + "\resources\buildnumber", $env:GITHUB_RUN_NUMBER)
[IO.File]::WriteAllLines($pwd.path + "\resources\gitsha", $env:GITHUB_SHA)
- name: Build app
uses: ./.github/actions/build-app