Update build.yml
This commit is contained in:
parent
8b9b009646
commit
0cc983613f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
id: determine_version
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ${{ env.DEV_ENVIRONMENT }} ]; then
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' }}; then
|
||||
echo "version=unreleased" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
|
||||
|
|
@ -172,7 +172,7 @@ jobs:
|
|||
|
||||
echo "minecraft_version=${{ steps.pakku_lock_info.outputs.mc_versions }}" >> $GITHUB_OUTPUT
|
||||
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' }}; then
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' && steps.changelog.outcome == 'failure' }}; then
|
||||
echo "project_version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
|
||||
echo "release_type=Unreleased" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue