Update build.yml
This commit is contained in:
parent
8c53d5dd3c
commit
05d9a47e6d
1 changed files with 9 additions and 9 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -161,19 +161,19 @@ jobs:
|
|||
id: check
|
||||
shell: bash
|
||||
run: |
|
||||
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
|
||||
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
|
||||
echo "minecraft_version=$(echo ${{ steps.pakku_lock_info.outputs.mc_versions }} | jq -r '.[]')" >> $GITHUB_OUTPUT
|
||||
|
||||
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
|
||||
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
|
||||
echo "changelog=$(echo ${{ steps.changelog_dev.outputs.description }} | sed 's/$/\\n/g')" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo 'project_version=${{ steps.changelog.outputs.version }}' >> $GITHUB_OUTPUT
|
||||
echo 'release_type=${{ steps.pakku_info.outputs.release_type }}' >> $GITHUB_OUTPUT
|
||||
echo "changelog=$(echo ${{ steps.changelog.outputs.description }} | sed 's/$/\\n/g')" >> $GITHUB_OUTPUT
|
||||
echo "project_version=${{ steps.changelog.outputs.version }}" >> $GITHUB_OUTPUT
|
||||
echo "release_type=${{ steps.pakku_info.outputs.release_type }}" >> $GITHUB_OUTPUT
|
||||
echo "changelog=${{ steps.changelog.outputs.description }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: 📄 Format diff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue