mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
switches up the order of some operations
This commit is contained in:
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@@ -93,10 +93,6 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.BUILDS_TOKEN }}
|
||||
repository: PepperDash-Engineering/pepperdash-core-builds
|
||||
- name: Download Build output
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: Build
|
||||
- name: Download Version Info
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
@@ -112,11 +108,15 @@ jobs:
|
||||
Write-Output "::set-env name=VERSION::$version"
|
||||
Remove-Item -Path ./Version/version.txt
|
||||
Remove-Item -Path ./Version
|
||||
- name: Create new branch
|
||||
run: git checkout -b $($Env:GITHUB_REF -replace "refs/heads/")
|
||||
- name: Download Build output
|
||||
uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: Build
|
||||
path: ./
|
||||
- name: Copy build output and push
|
||||
run: |
|
||||
git checkout -b $($Env:GITHUB_REF -Replace "refs/heads/")
|
||||
Get-ChildItem -Path "./Build" -Recurse | Copy-Item -Path ./
|
||||
Remove-Item -Path ./Build -Recurse
|
||||
git add .
|
||||
git commit -m "Build ${{ env.GITHUB_RUN_NUMBER }} from commit: https://github.com/${{ env.GITHUB_REPOSITORY }}/commit/${{ env.GITHUB_SHA }}"
|
||||
git tag ${{ env.VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user