mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-26 02:19:19 +00:00
Update GitHub action env name to fix /version command output
This commit is contained in:
10
.github/workflows/build-1214.yml
vendored
10
.github/workflows/build-1214.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: blacksmith-8vcpu-ubuntu-2204
|
||||
env:
|
||||
RUN_NUMBER: ${{ github.run_number }}
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
GRAALVM_ARGS: "-Dgraal.CompilerConfiguration=enterprise -Dgraal.UsePriorityInlining=true -Dgraal.Vectorization=true -Dgraal.OptDuplication=true --add-modules jdk.incubator.vector"
|
||||
|
||||
steps:
|
||||
@@ -41,8 +41,8 @@ jobs:
|
||||
|
||||
- name: Rename Paperclip JARs
|
||||
run: |
|
||||
mv leaf-server/build/libs/leaf-paperclip-1.21.4-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.4-${{ env.RUN_NUMBER }}-mojmap.jar
|
||||
mv leaf-server/build/libs/leaf-paperclip-1.21.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21.4-${{ env.RUN_NUMBER }}-reobf.jar
|
||||
mv leaf-server/build/libs/leaf-paperclip-1.21.4-R0.1-SNAPSHOT-mojmap.jar ./leaf-1.21.4-${{ env.BUILD_NUMBER }}-mojmap.jar
|
||||
mv leaf-server/build/libs/leaf-paperclip-1.21.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.21.4-${{ env.BUILD_NUMBER }}-reobf.jar
|
||||
|
||||
- name: Publish API
|
||||
continue-on-error: true
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
path: ./leaf-1.21.4-*.jar
|
||||
|
||||
- name: Prepare jar for release
|
||||
run: mv ./leaf-1.21.4-${{ env.RUN_NUMBER }}-mojmap.jar ./leaf-1.21.4-${{ env.RUN_NUMBER }}.jar
|
||||
run: mv ./leaf-1.21.4-${{ env.BUILD_NUMBER }}-mojmap.jar ./leaf-1.21.4-${{ env.BUILD_NUMBER }}.jar
|
||||
|
||||
- name: Release Leaf
|
||||
# TODO: Replace with a maintained action as marvinpinto/action-automatic-releases is archived
|
||||
@@ -72,5 +72,5 @@ jobs:
|
||||
title: "Leaf 1.21.4"
|
||||
automatic_release_tag: "ver-1.21.4"
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
files: "./leaf-1.21.4-${{ env.RUN_NUMBER }}.jar"
|
||||
files: "./leaf-1.21.4-${{ env.BUILD_NUMBER }}.jar"
|
||||
prerelease: false
|
||||
|
||||
Reference in New Issue
Block a user