9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-19 14:59:21 +00:00

ci: fix build version checking

This commit is contained in:
William
2024-09-05 14:00:49 +01:00
parent 3455b10a20
commit 5935f1ab5f

View File

@@ -54,8 +54,7 @@ jobs:
report_paths: '**/build/test-results/test/TEST-*.xml' report_paths: '**/build/test-results/test/TEST-*.xml'
- name: 'Fetch Version Name 📝' - name: 'Fetch Version Name 📝'
run: | run: |
cd 1.21.1 echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/1.21.1/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')"
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')"
id: fetch-version id: fetch-version
- name: Get Version - name: Get Version
run: | run: |