diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 676a262..4ec14b1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -102,18 +102,18 @@ jobs: uses: actions/download-artifact@v1 with: name: Version - path: ./version.zip + path: ./version.txt - name: Check Directory run: Get-ChildItem "./" - name: Set Version Number shell: powershell run: | - Expand-Archive -Path version.zip -DestinationPath ./ - Get-ChildItem "./" - # $version = Get-Content -Path ./version.txt - # Write-Output "::set-env name=VERSION::$version" - # Remove-Item -Path ./version.zip - # Remove-Item -Path ./version.txt + Get-ChildItem "./" + # Expand-Archive -Path version.zip -DestinationPath ./ + $version = Get-Content -Path ./version.txt + Write-Output "::set-env name=VERSION::$version" + Remove-Item -Path ./version.zip + Remove-Item -Path ./version.txt - name: Check Directory run: | Get-ChildItem "./"