mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-16 13:14:49 +00:00
removed push statements and added unzip step
This commit is contained in:
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 "./"
|
||||||
|
|||||||
Reference in New Issue
Block a user