@@ -17,38 +17,38 @@ jobs:
1717 - uses : actions/checkout@v2
1818
1919 - name : Set up JDK 1.8
20- uses : actions/setup-java@v1
21- with :
22- java-version : 1.8
20+ uses : actions/setup-java@v1
21+ with :
22+ java-version : 1.8
2323
2424 - name : Grant execute permission for gradlew
25- run : chmod +x gradlew
25+ run : chmod +x gradlew
2626
2727 - name : Setup ForgeGradle
28- run : ./gradlew setupCIWorkspace
28+ run : ./gradlew setupCIWorkspace
2929
3030 - name : Read mod name
31- id : read_mod_name
32- uses : christian-draeger/read-properties@1.0.1
33- with :
34- path : ${{ env.PROPERTIES_PATH }}
35- property : archivesBaseName
31+ id : read_mod_name
32+ uses : christian-draeger/read-properties@1.0.1
33+ with :
34+ path : ${{ env.PROPERTIES_PATH }}
35+ property : archivesBaseName
3636
3737 - name : Read mod version
38- id : read_mod_version
39- uses : christian-draeger/read-properties@1.0.1
40- with :
41- path : ${{ env.PROPERTIES_PATH }}
42- property : version
38+ id : read_mod_version
39+ uses : christian-draeger/read-properties@1.0.1
40+ with :
41+ path : ${{ env.PROPERTIES_PATH }}
42+ property : version
4343
4444 - name : Build with Gradle
45- run : ./gradlew build
45+ run : ./gradlew build
4646
4747 - name : Upload mod jar
48- env :
49- mod_jar_name : ${{ steps.read_mod_name.outputs.value }}-${{ steps.read_mod_version.outputs.value }}
50- mod_jar_path : build/libs/${{ steps.read_mod_name.outputs.value }}-${{ steps.read_mod_version.outputs.value }}.jar
51- uses : actions/upload-artifact@v1.0.0
52- with :
53- name : ${{ env.mod_jar_name }}
54- path : ${{ env.mod_jar_path }}
48+ env :
49+ mod_jar_name : ${{ steps.read_mod_name.outputs.value }}-${{ steps.read_mod_version.outputs.value }}
50+ mod_jar_path : build/libs/${{ steps.read_mod_name.outputs.value }}-${{ steps.read_mod_version.outputs.value }}.jar
51+ uses : actions/upload-artifact@v1.0.0
52+ with :
53+ name : ${{ env.mod_jar_name }}
54+ path : ${{ env.mod_jar_path }}
0 commit comments