fix CI not having access to git when run via gradle

This commit is contained in:
Wagyourtail
2022-06-03 14:29:51 -06:00
parent 1caa99fee3
commit ed381d6b33
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build -Pmod_version=$(git describe --always --tags | cut -c2-)
- name: Archive Artifacts
uses: actions/upload-artifact@v2