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 uses: actions/download-artifact@v1
with: with:
name: Version name: Version
path: ./version.zip path: ./version.txt
- name: Check Directory - name: Check Directory
run: Get-ChildItem "./" run: Get-ChildItem "./"
- name: Set Version Number - name: Set Version Number
shell: powershell shell: powershell
run: | run: |
Expand-Archive -Path version.zip -DestinationPath ./
Get-ChildItem "./" Get-ChildItem "./"
# $version = Get-Content -Path ./version.txt # Expand-Archive -Path version.zip -DestinationPath ./
# Write-Output "::set-env name=VERSION::$version" $version = Get-Content -Path ./version.txt
# Remove-Item -Path ./version.zip Write-Output "::set-env name=VERSION::$version"
# Remove-Item -Path ./version.txt Remove-Item -Path ./version.zip
Remove-Item -Path ./version.txt
- name: Check Directory - name: Check Directory
run: | run: |
Get-ChildItem "./" Get-ChildItem "./"