mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 21:24:43 +00:00
unzips to root directory
This commit is contained in:
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@@ -102,13 +102,14 @@ jobs:
|
|||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: Version
|
name: Version
|
||||||
path: ./version.txt
|
path: ./
|
||||||
- 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: |
|
||||||
Get-ChildItem "./"
|
Get-ChildItem "./"
|
||||||
|
Expand-Archive -Path version.zip -DestinationPath ./
|
||||||
$version = Get-Content -Path ./version.txt
|
$version = Get-Content -Path ./version.txt
|
||||||
Write-Output "::set-env name=VERSION::$version"
|
Write-Output "::set-env name=VERSION::$version"
|
||||||
Remove-Item -Path ./version.zip
|
Remove-Item -Path ./version.zip
|
||||||
@@ -132,4 +133,3 @@ jobs:
|
|||||||
# name: Build
|
# name: Build
|
||||||
# - name: Check Directory
|
# - name: Check Directory
|
||||||
# run: Get-ChildItem ${{env.GITHUB_WORKSPACE}}
|
# run: Get-ChildItem ${{env.GITHUB_WORKSPACE}}
|
||||||
# Expand-Archive -Path version.zip -DestinationPath ./
|
|
||||||
|
|||||||
Reference in New Issue
Block a user