File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 47
47
with :
48
48
arguments : clean build outputChangelog
49
49
gradle-version : wrapper
50
+ env :
51
+ BUILD_NUMBER : ${{ github.run_number }}
52
+ GIT_COMMIT : ${{ github.sha }}
53
+ GIT_PREVIOUS_SUCCESSFUL_COMMIT : ${{ steps.last_success_build.outputs.sha }}
50
54
51
55
- name : Upload to workflow artifacts
52
56
uses : actions/upload-artifact@v3
60
64
with :
61
65
files : build/libs/*.jar
62
66
body_path : build/changelog.html
63
- tag_name : v${{ steps.gradle_props.outputs.minecraft_version }}-${{ steps.gradle_props.outputs.mod_version }}.${{ github.run_id }}
67
+ tag_name : v${{ steps.gradle_props.outputs.minecraft_version }}-${{ steps.gradle_props.outputs.mod_version }}.${{ github.run_number }}
64
68
65
69
# - name: Publish
66
70
# uses: gradle/gradle-build-action@v2
You can’t perform that action at this time.
0 commit comments