Added folder name to affected paths

This commit is contained in:
Neil Dorin
2020-03-17 16:18:15 -06:00
parent 11d7b76592
commit 7c80fc2ae5

View File

@@ -107,10 +107,10 @@ jobs:
- name: Set Version Number - name: Set Version Number
shell: powershell shell: powershell
run: | run: |
Get-ChildItem "./" Get-ChildItem "./Version"
$version = Get-Content -Path ./version.txt $version = Get-Content -Path ./Version/version.txt
Write-Output "::set-env name=VERSION::$version" Write-Output "::set-env name=VERSION::$version"
Remove-Item -Path ./version.txt Remove-Item -Path ./Version/version.txt
- name: Check Directory - name: Check Directory
run: | run: |
Get-ChildItem "./" Get-ChildItem "./"
@@ -124,9 +124,24 @@ jobs:
# token: ${{ secrets.BUILDS_TOKEN }} # token: ${{ secrets.BUILDS_TOKEN }}
# path: ./internal_builds_repo # path: ./internal_builds_repo
# repository: PepperDash-Engineering/pepperdash-core-builds # repository: PepperDash-Engineering/pepperdash-core-builds
# - name: Download Artifact # - name: Download Build output
# uses: actions/download-artifact@v1 # uses: actions/download-artifact@v1
# with: # with:
# name: Build # name: Build
# - name: Check Directory # path: ./build.zip
# run: Get-ChildItem ${{env.GITHUB_WORKSPACE}} # - name: Download Version Info
# uses: actions/download-artifact@v1
# with:
# name: Version
# - name: Check Directory
# run: Get-ChildItem "./"
# - name: Set Version Number
# shell: powershell
# run: |
# Get-ChildItem "./"
# $version = Get-Content -Path ./version.txt
# Write-Output "::set-env name=VERSION::$version"
# Remove-Item -Path ./version.txt
# - name: Check Directory
# run: |
# Get-ChildItem "./"