Skip to content

Commit

Permalink
Why
Browse files Browse the repository at this point in the history
  • Loading branch information
RawDiamondMC committed Oct 22, 2023
1 parent 863cfeb commit af54913
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build
on: [push]
on: [push,workflow_dispatch]

jobs:
build:
Expand Down Expand Up @@ -28,7 +28,7 @@ jobs:
gradle-version: wrapper
gradle-distribution-sha-256-sum-warning: false

- run: git tag
- run: git describe --tags --dirty="-dev" --broken

- name: build
run: ./gradlew build
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ String getVersionSuffix() {
return split[split.length - 2] + suffix
}

afterEvaluate {
logger.lifecycle("Version String: ${version}")
}

tasks.register('move-jar', Copy) {
mkdir "$rootDir/artifacts"
from "$rootDir/platforms/fabric-1.20.1/build/libs", "$rootDir/platforms/forge-1.20.1/build/libs"
Expand Down

0 comments on commit af54913

Please sign in to comment.