mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
Trying as though version is a txt file, not zip
This commit is contained in:
parent
0e53378af2
commit
5f0e528e37
1 changed files with 7 additions and 7 deletions
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
|
@ -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 "./"
|
# 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
|
||||||
# Remove-Item -Path ./version.txt
|
Remove-Item -Path ./version.txt
|
||||||
- name: Check Directory
|
- name: Check Directory
|
||||||
run: |
|
run: |
|
||||||
Get-ChildItem "./"
|
Get-ChildItem "./"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue