|
54 | 54 | - name: Get Version |
55 | 55 | id: version |
56 | 56 | run: | |
57 | | - MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
| 57 | + MESSAGE=$(ls module.${{ env.MODULE }}/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
58 | 58 | echo "version=$MESSAGE" >> $GITHUB_OUTPUT |
59 | 59 |
|
60 | 60 | - name: capture build artifacts |
@@ -116,7 +116,7 @@ jobs: |
116 | 116 | - name: Get Version |
117 | 117 | id: version |
118 | 118 | run: | |
119 | | - MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
| 119 | + MESSAGE=$(ls module.${{ env.MODULE }}/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
120 | 120 | echo "version=$MESSAGE" >> $GITHUB_OUTPUT |
121 | 121 |
|
122 | 122 | - name: capture build artifacts |
@@ -178,7 +178,7 @@ jobs: |
178 | 178 | - name: Get Version |
179 | 179 | id: version |
180 | 180 | run: | |
181 | | - MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
| 181 | + MESSAGE=$(ls module.${{ env.MODULE }}/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
182 | 182 | echo "version=$MESSAGE" >> $GITHUB_OUTPUT |
183 | 183 |
|
184 | 184 | - name: capture build artifacts |
@@ -242,7 +242,7 @@ jobs: |
242 | 242 | - name: Get Version |
243 | 243 | id: version |
244 | 244 | run: | |
245 | | - MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
| 245 | + MESSAGE=$(ls module.${{ env.MODULE }}/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-${{ env.MODULE_ID }}-neoforge-|.jar' '{print $2}') |
246 | 246 | echo "version=$MESSAGE" >> $GITHUB_OUTPUT |
247 | 247 |
|
248 | 248 | - name: capture build artifacts |
@@ -308,7 +308,7 @@ jobs: |
308 | 308 | - name: Get Version |
309 | 309 | id: version |
310 | 310 | run: | |
311 | | - MESSAGE=$(ls build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-neoforge-|.jar' '{print $2}') |
| 311 | + MESSAGE=$(ls module.${{ env.MODULE }}/build/libs/* | grep sources.jar -v | grep shadow.jar -v | grep slim.jar -v | awk -F 'anvillib-neoforge-|.jar' '{print $2}') |
312 | 312 | echo "version=$MESSAGE" >> $GITHUB_OUTPUT |
313 | 313 |
|
314 | 314 | - name: capture build artifacts |
|
0 commit comments