Update build.yml
This commit is contained in:
parent
d096be8798
commit
e18b356f1a
1 changed files with 3 additions and 4 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -164,11 +164,10 @@ jobs:
|
|||
echo "make_release=${{ steps.check_tag.outputs.exists == false && env.DEV_ENVIRONMENT == false }}" >> $GITHUB_OUTPUT
|
||||
echo "exists=${{ steps.check_tag.outputs.exists }}" >> $GITHUB_OUTPUT
|
||||
echo "project_name=${{ steps.pakku_info.outputs.name }}" >> $GITHUB_OUTPUT
|
||||
MC_VERSIONS_JSON='${{ steps.pakku_lock_info.outputs.mc_versions }}'
|
||||
MINECRAFT_VERSION=$(echo "$MC_VERSIONS_JSON" | jq -r '.[0]' | tr -d '[]"')
|
||||
echo "minecraft_version=$MINECRAFT_VERSION" >> $GITHUB_OUTPUT
|
||||
MINECRAFT_VERSION=$(echo "$${{ steps.pakku_lock_info.outputs.mc_versions }}" | jq -r '.[0]' | tr -d '[]"')
|
||||
echo "minecraft_version=(echo "$${{ steps.pakku_lock_info.outputs.mc_versions }}" | jq -r '.[0]' | tr -d '[]"')" >> $GITHUB_OUTPUT
|
||||
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' && steps.changelog.outcome == 'failure' }}; then
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' }}; then
|
||||
echo "project_version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
|
||||
echo "release_type=Unreleased" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue