Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit bd828e8

Browse files
committed
Sanity checks
1 parent bcf5393 commit bd828e8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/msbuild.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ env:
3939
# \"Debug Release\": \"Cortex Command.debug.release.exe\",
4040
# \"Debug Minimal\": \"Cortex Command.debug.minimal.exe\",
4141
# \"Debug Full\": \"Cortex Command.debug.full.exe\"}"
42+
EXECUTABLE_NAME: "Cortex Command.exe"
4243

4344
NAME_MAPPING: |
4445
{"Final": "Cortex Command.exe",
@@ -54,14 +55,21 @@ jobs:
5455
steps:
5556
- uses: actions/checkout@v3
5657

58+
- name: Set color
59+
id: random-color-generator
60+
run: echo "SELECTED_COLOR=green" >> $GITHUB_OUTPUT
61+
62+
- name: Get color
63+
run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"
64+
5765
- name: Determine executable name
5866
id: executable_name
5967
if: ${{inputs.upload_artefacts}}
6068
run: |
61-
echo "EXECUTABLE_NAME=${{ fromJson(env.NAME_MAPPING)[inputs.build_configuration] }}" >> "$GITHUB_OUTPUT"
69+
echo -e "EXECUTABLE_NAME=${{ fromJson(env.NAME_MAPPING)[inputs.build_configuration] }}" >> "$GITHUB_ENV"
6270
6371
- run: |
64-
echo ${{ steps.executable_name.outputs.EXECUTABLE_NAME }}
72+
echo ${{ env.EXECUTABLE_NAME }}
6573
6674
- name: Add MSBuild to PATH
6775
uses: microsoft/setup-msbuild@v1

0 commit comments

Comments
 (0)