Update workflow file
Some checks failed
build / build (21) (push) Successful in 4m27s
build / upload-release (push) Failing after 8s

This commit is contained in:
BitHeaven 2025-01-21 03:43:53 +05:00
parent 212c1c11a6
commit b5b84d21fc
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 {