mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
removed push statements and added unzip step
This commit is contained in:
parent
a607781e1b
commit
f42854a8b7
1 changed files with 9 additions and 3 deletions
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
|
|
@ -119,6 +119,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Build
|
name: Build
|
||||||
path: ./
|
path: ./
|
||||||
|
- name: Unzip Build file
|
||||||
|
run: |
|
||||||
|
Get-ChildItem ./
|
||||||
|
Get-ChildItem -Path ./ -include @("*.zip") | Expand-Archive -DestinationPath ./
|
||||||
|
Remove-Item -Path ./ -include @("*.zip")
|
||||||
|
Get-ChildItem ./
|
||||||
- name: Copy build output and push
|
- name: Copy build output and push
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -130,9 +136,9 @@ jobs:
|
||||||
git commit -m $commit
|
git commit -m $commit
|
||||||
git tag $($Env:VERSION)
|
git tag $($Env:VERSION)
|
||||||
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
|
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
|
||||||
Write-Host $branch
|
Write-Output $branch
|
||||||
git push --set-upstream origin $($branch) --force
|
# git push --set-upstream origin $($branch) --force
|
||||||
git push --tags origin
|
# git push --tags origin
|
||||||
- name: Check Directory
|
- name: Check Directory
|
||||||
run: |
|
run: |
|
||||||
Get-ChildItem "./"
|
Get-ChildItem "./"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue