unzips to root directory

This commit is contained in:
Neil Dorin
2020-03-17 15:55:45 -06:00
parent d2012b1535
commit d6826bfd83

View File

@@ -102,13 +102,14 @@ jobs:
uses: actions/download-artifact@v1
with:
name: Version
path: ./version.txt
path: ./
- name: Check Directory
run: Get-ChildItem "./"
- name: Set Version Number
shell: powershell
run: |
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
@@ -132,4 +133,3 @@ jobs:
# name: Build
# - name: Check Directory
# run: Get-ChildItem ${{env.GITHUB_WORKSPACE}}
# Expand-Archive -Path version.zip -DestinationPath ./