mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
Trying as though version is a txt file, not zip
This commit is contained in:
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@@ -102,18 +102,18 @@ jobs:
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: Version
|
||||
path: ./version.zip
|
||||
path: ./version.txt
|
||||
- name: Check Directory
|
||||
run: Get-ChildItem "./"
|
||||
- name: Set Version Number
|
||||
shell: powershell
|
||||
run: |
|
||||
Expand-Archive -Path version.zip -DestinationPath ./
|
||||
Get-ChildItem "./"
|
||||
# $version = Get-Content -Path ./version.txt
|
||||
# Write-Output "::set-env name=VERSION::$version"
|
||||
# Remove-Item -Path ./version.zip
|
||||
# Remove-Item -Path ./version.txt
|
||||
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
|
||||
Remove-Item -Path ./version.txt
|
||||
- name: Check Directory
|
||||
run: |
|
||||
Get-ChildItem "./"
|
||||
|
||||
Reference in New Issue
Block a user