Skip to content

Commit 03e8f79

Browse files
.
1 parent c9bb236 commit 03e8f79

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test-install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
matrix:
2626
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
2727
steps:
28+
- uses: actions/checkout@v4
2829
- name: Set environment variable
29-
run: echo "RUNNING_ON_GITHUB=${{ env.RUNNING_ON_GITHUB_ACTIONS }}"
30-
- uses: actions/checkout@v4
30+
run: echo "RUNNING_ON_GITHUB=${{ env.RUNNING_ON_GITHUB_ACTIONS }}" >> $GITHUB_ENV
3131
- name: do test install in case of merged pull request
3232
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
3333
- name: switch to fworch user for c# unit tests

roles/tests-unit/files/FWO.Test/HtmlToPdfTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public async Task GeneratePdf()
3131
Log.WriteInfo("Test Log", $"GITHUB_ACTIONS? {isGitHubActions}");
3232
Log.WriteInfo("Test Log", $"RUNNING_ON_GITHUB_ACTIONS? {isGitHubActions2}");
3333
Log.WriteInfo("Test Log", $"RUNNING_ON_GITHUB? {isGitHubActions3}");
34+
Log.WriteInfo("Test Log", $"GITHUB_ENV {Environment.GetEnvironmentVariable("GITHUB_ENV")}");
3435

3536
if (!string.IsNullOrEmpty(isGitHubActions))
3637
{

0 commit comments

Comments
 (0)