Trying as though version is a txt file, not zip

This commit is contained in:
Neil Dorin
2020-03-17 15:25:15 -06:00
parent 0e53378af2
commit 5f0e528e37

View File

@@ -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 "./"