Update workflow file
This commit is contained in:
parent
212c1c11a6
commit
b5b84d21fc
@ -6,6 +6,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
env:
|
||||||
|
RUN_NUMBER: ${{ gitea.run_number }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '21' ]
|
java: [ '21' ]
|
||||||
@ -49,7 +51,7 @@ jobs:
|
|||||||
name: create-air-fabric
|
name: create-air-fabric
|
||||||
|
|
||||||
- name: Extract files
|
- name: Extract files
|
||||||
run: unzip create-air-fabric.zip
|
run: unzip create-air-fabric
|
||||||
|
|
||||||
- name: Make release
|
- name: Make release
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
@ -10,7 +10,7 @@ targetCompatibility = JavaVersion.VERSION_17
|
|||||||
archivesBaseName = project.archives_base_name
|
archivesBaseName = project.archives_base_name
|
||||||
group = project.maven_group
|
group = project.maven_group
|
||||||
|
|
||||||
String buildNumber = System.getenv("GITEA_RUN_NUMBER")
|
String buildNumber = System.getenv("RUN_NUMBER")
|
||||||
version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "")
|
version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
Loading…
Reference in New Issue
Block a user