Update build.yml
This commit is contained in:
parent
13610bb273
commit
c6ff3936c5
1 changed files with 9 additions and 2 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -147,7 +147,7 @@ jobs:
|
|||
id: determine_version
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ${{ github.env.DEV_ENVIRONMENT }} ]; then
|
||||
if [ ${{ env.DEV_ENVIRONMENT }} || steps.pakku_info.outputs.version ]; then
|
||||
echo "version=unreleased" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT
|
||||
|
|
@ -165,7 +165,7 @@ jobs:
|
|||
id: check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ ${{ github.env.DEV_ENVIRONMENT }} || ${{ steps.changelog.outcome }} == 'failure' ]; then
|
||||
if [ ${{ env.DEV_ENVIRONMENT }} || ${{ steps.changelog.outcome }} == 'failure' ]; then
|
||||
echo "version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT
|
||||
echo "status=Unreleased" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
|
@ -192,6 +192,13 @@ jobs:
|
|||
📃 **Release Type**: `${{ steps.check.outputs.status }}`
|
||||
📃 **Game Version**: `${{ steps.pakku_lock_info.outputs.mc_versions }}`
|
||||
|
||||
📃 **Dev Environment**: `${{ env.DEV_ENVIRONMENT }}`
|
||||
📃 **Tag Exists**: `${{ steps.check_tag.outputs.exists }}`
|
||||
📃 **Release on GitHub**: `${{ env.RELEASE_ON_GITHUB }}`
|
||||
📃 **Release on CurseForge**: `${{ env.RELEASE_ON_CURSEFORGE }}`
|
||||
📃 **Release on Modrinth**: `${{ env.RELEASE_ON_MODRINTH }}`
|
||||
|
||||
|
||||
${{ steps.changelog.outputs.description }}
|
||||
${{ steps.format_diff.outputs.text }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue