Skip to content

Commit

Permalink
added path management
Browse files Browse the repository at this point in the history
  • Loading branch information
Bioblaze committed Oct 23, 2024
1 parent d74030a commit 8552f70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/linux-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
repository: blazium-engine/blazium
ref: ${{ github.event.client_payload.branch }}
fetch-depth: 1

- name: Get BASE_PATH
id: pathing
run: |
echo "BASE_PATH=$PATH" >> "$GITHUB_OUTPUT"
- name: Setup Artifact Naming Scheme
id: naming
Expand Down Expand Up @@ -76,7 +81,7 @@ jobs:
- name: Setup Path for ${{ steps.naming.outputs.STEP_NAME }}
run: |
export PATH="${{ matrix.path }}/bin:$BASE_PATH"
export PATH="${{ matrix.path }}/bin:${{ steps.pathing.outputs.BASE_PATH }}"
- name: Build for ${{ steps.naming.outputs.STEP_NAME }} Editor
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/monoglue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
repository: blazium-engine/blazium
ref: ${{ github.event.client_payload.branch }}
fetch-depth: 1

- name: Get BASE_PATH
id: pathing
run: |
echo "BASE_PATH=$PATH" >> "$GITHUB_OUTPUT"
# Step to build the project and Mono glue
- name: Build Project and Generate Mono Glue
Expand All @@ -36,7 +41,7 @@ jobs:
export OPTIONS="debug_symbols=no use_static_cpp=no"
export TERM=xterm
export DISPLAY=:0
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH}"
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${{ steps.pathing.outputs.BASE_PATH }}"
set -e
echo "Building and generating Mono glue..."
Expand Down

0 comments on commit 8552f70

Please sign in to comment.