diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c65b5b1..9e09430 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -123,7 +123,7 @@ jobs: Get-ChildItem "./Version" $version = Get-Content -Path ./Version/version.txt Write-Host "Version: $version" - echo "VERSION=$version" | Out-File -FilePath $env::GITHUB_ENV -Encoding utf8 -Append + echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append Remove-Item -Path ./Version/version.txt Remove-Item -Path ./Version - name: Download Build output @@ -178,7 +178,7 @@ jobs: Get-ChildItem "./Version" $version = Get-Content -Path ./Version/version.txt Write-Host "Version: $version" - Write-Output "::set-env name=VERSION::$version" + echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append Remove-Item -Path ./Version/version.txt Remove-Item -Path ./Version # Checkout/Create the branch @@ -255,7 +255,7 @@ jobs: Get-ChildItem "./Version" $version = Get-Content -Path ./Version/version.txt Write-Host "Version: $version" - Write-Output "::set-env name=VERSION::$version" + echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append Remove-Item -Path ./Version/version.txt Remove-Item -Path ./Version # Checkout/Create the branch