Update build.yml
This commit is contained in:
parent
306a8cb6ac
commit
2020d85c12
1 changed files with 3 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue