From 5f0e528e376ab63fcf7a9e15394752b575ab2bd5 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 17 Mar 2020 15:25:15 -0600 Subject: [PATCH] Trying as though version is a txt file, not zip --- .github/workflows/docker.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 "./"