Skip to content

Commit

Permalink
Update add-new-template
Browse files Browse the repository at this point in the history
  • Loading branch information
tshanep authored Jan 22, 2024
1 parent e68bac1 commit 7be9eb8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/add-new-template
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,11 @@ jobs:
pac solution sync --processCanvasApps
dotnet build /p:configuration=Release ${{ github.event.inputs.solution_name }}.cdsproj
shell: pwsh

#Checkout to a local user branch
- name: Checkout to a new branch and set branch name
run: |
$branchName = "auto_pipeline/${{ github.event.inputs.solution_name }}-${{ steps.date.outputs.branch_datetime }}"
git checkout -b $branchName
echo "BRANCH_NAME=$branchName" | Out-File -Append -Encoding utf8 $env:GITHUB_ENV
shell: pwsh

0 comments on commit 7be9eb8

Please sign in to comment.