Update build.yml

This commit is contained in:
Xikaro 2025-04-18 22:34:26 +05:00
parent 306a8cb6ac
commit 2020d85c12

View file

@ -40,6 +40,7 @@ jobs:
id: check_pakku_lock
shell: bash
run: |
echo "${{ github.ref_name }}"
if [ ! -f pakku-lock.json ]; then
echo "❌ Could not find pakku-lock.json" && exit 1
else
@ -147,7 +148,7 @@ jobs:
id: determine_version
shell: bash
run: |
if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then
if [ ${{ github.env.DEV_ENVIRONMENT }} ]; then
echo "version=unreleased" >> $GITHUB_OUTPUT
else
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
@ -165,7 +166,7 @@ jobs:
id: check
shell: bash
run: |
if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then
if [ ${{ github.env.DEV_ENVIRONMENT }} || ${{ steps.changelog.outcome }} == 'failure' ]; then
echo "version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
echo "status=Unreleased" >> $GITHUB_OUTPUT
else