GH: Apply custom version to the builds

This commit is contained in:
Serhii Snitsaruk 2023-08-02 20:51:22 +02:00
parent cc6a0e7b44
commit 5fa574b352
4 changed files with 15 additions and 0 deletions

View File

@ -13,3 +13,9 @@ runs:
- name: Set NAME_PREFIX - name: Set NAME_PREFIX
shell: bash shell: bash
run: echo "NAME_PREFIX=godot-${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" >> "$GITHUB_ENV" run: echo "NAME_PREFIX=godot-${GODOT_VERSION}.limboai+${LIMBOAI_VERSION}" >> "$GITHUB_ENV"
- name: Set GODOT_VERSION_STATUS & BUILD_NAME
shell: bash
run: |
echo "GODOT_VERSION_STATUS=limboai+${LIMBOAI_VERSION}" >> "$GITHUB_ENV"
echo "BUILD_NAME=gha" >> "$GITHUB_ENV"

View File

@ -85,6 +85,9 @@ jobs:
path: modules/limboai path: modules/limboai
ref: ${{ inputs.limboai-treeish }} ref: ${{ inputs.limboai-treeish }}
# Inits GODOT_VERSION, LIMBOAI_VERSION and NAME_PREFIX environment variables.
- uses: ./modules/limboai/.github/actions/init-version
- name: Set up Java 11 - name: Set up Java 11
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:

View File

@ -89,6 +89,9 @@ jobs:
path: modules/limboai path: modules/limboai
ref: ${{ inputs.limboai-treeish }} ref: ${{ inputs.limboai-treeish }}
# Inits GODOT_VERSION, LIMBOAI_VERSION and NAME_PREFIX environment variables.
- uses: ./modules/limboai/.github/actions/init-version
- name: Set up Python 3.x - name: Set up Python 3.x
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:

View File

@ -132,6 +132,9 @@ jobs:
path: modules/limboai path: modules/limboai
ref: ${{ inputs.limboai-treeish }} ref: ${{ inputs.limboai-treeish }}
# Inits GODOT_VERSION, LIMBOAI_VERSION and NAME_PREFIX environment variables.
- uses: ./modules/limboai/.github/actions/init-version
- name: Set up Python 3.x - name: Set up Python 3.x
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with: