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