Update build.yml
This commit is contained in:
parent
fc80327273
commit
05dc04d275
1 changed files with 4 additions and 8 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -161,14 +161,10 @@ jobs:
|
|||
id: check
|
||||
shell: bash
|
||||
run: |
|
||||
process_versions() {
|
||||
local input="$1"
|
||||
echo "$input" | jq -r '.' | tr -d '\n' | xargs
|
||||
}
|
||||
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=$(process_versions "${{ steps.pakku_lock_info.outputs.mc_versions }}") >> $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 '.[]' | tr -d '\n' | xargs)"" >> $GITHUB_OUTPUT
|
||||
|
||||
if ${{ env.DEV_ENVIRONMENT == 'true' && steps.changelog.outcome == 'failure' }}; then
|
||||
echo "project_version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue