GHA: Use tag instead of sha when available
This commit is contained in:
parent
ada246acf9
commit
8c7b19ea12
|
@ -34,9 +34,9 @@ jobs:
|
||||||
- name: Cache SHA
|
- name: Cache SHA
|
||||||
id: cache-sha
|
id: cache-sha
|
||||||
run: |
|
run: |
|
||||||
echo "godot-sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
echo "godot-sha=$(git describe --tags --exact-match HEAD || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
||||||
cd modules/limboai
|
cd modules/limboai
|
||||||
echo "limboai-sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
echo "limboai-sha=$(git describe --tags --exact-match HEAD || git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
android-build:
|
android-build:
|
||||||
name: 🤖 Android
|
name: 🤖 Android
|
||||||
|
|
Loading…
Reference in New Issue