File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- name : Build Lambda
1+ name : Nightly Build
22
33on :
44 push :
@@ -72,11 +72,11 @@ jobs:
7272 COMMIT_MESSAGE=$(git log --pretty=format:'- \`%h\` %s' -1 --reverse)
7373 LATEST_VERSION=$(curl -s "https://maven.lambda-client.org/snapshots/com/lambda/lambda/maven-metadata.xml" | grep -oP '(?<=<latest>).*?(?=</latest>)')
7474 LATEST_MAVEN_METADATA=$(curl -s "https://maven.lambda-client.org/snapshots/com/lambda/lambda/${LATEST_VERSION}/maven-metadata.xml")
75-
7675 TIMESTAMP=$(echo "$LATEST_MAVEN_METADATA" | grep -oP '(?<=<timestamp>).*?(?=</timestamp>)')
7776 BUILD_NUMBER=$(echo "$LATEST_MAVEN_METADATA" | grep -oP '(?<=<buildNumber>).*?(?=</buildNumber>)')
78-
7977 LATEST_SNAPSHOT="lambda-${{ steps.all.outputs.modVersion }}+${{ steps.all.outputs.minecraftVersion }}-${TIMESTAMP}-${BUILD_NUMBER}"
78+ echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV
79+ echo "LATEST_SNAPSHOT=lambda-${{ steps.all.outputs.modVersion }}+${{ steps.all.outputs.minecraftVersion }}-${TIMESTAMP}-${BUILD_NUMBER}" >> $GITHUB_ENV
8080
8181 - name : Send Discord build message
8282 if : steps.upload-maven.conclusion == 'success' || steps.upload-git.conclusion == 'success'
You can’t perform that action at this time.
0 commit comments