We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbb07a commit 792d2b6Copy full SHA for 792d2b6
.github/workflows/publish_yak.yml
@@ -22,13 +22,12 @@ jobs:
22
shell: pwsh
23
run: |
24
if ("${{ github.event.inputs.environment }}" -eq "test") {
25
- echo "TEST_FLAG=--test-server" >> $GITHUB_ENV
+ echo "TEST_FLAG=--test-server" | Out-File -FilePath $env:GITHUB_ENV -Append
26
}
27
else {
28
- echo "TEST_FLAG=" >> GITHUB_ENV
+ echo "TEST_FLAG=" | Out-File -FilePath $env:GITHUB_ENV -Append
29
30
-
31
- echo "TEST_FLAG=$Env:TEST_FLAG"
+ echo "Environment: $env:TEST_FLAG"
32
33
- name: Checkout repo
34
uses: actions/checkout@v4
0 commit comments