Skip to content

Commit

Permalink
Fix branch name to run CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
avdynut committed Dec 1, 2023
1 parent 94abc38 commit 54bc498
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build XR Sharp
name: Build XRSharp.CommunityToolkit
env:
package-source-myget: 'https://www.myget.org/F/xrsharp/api/v2/package'
nuget: 'https://api.nuget.org/v3/index.json'
Expand All @@ -7,7 +7,7 @@ env:
on:
push:
branches:
- master
- main
jobs:
Build:
#We should not run these steps on the forks by default.
Expand Down Expand Up @@ -57,6 +57,6 @@ jobs:
working-directory: XRSharp.CommunityToolkit\build\
run: .\build-nuget-package-XRSharp-CommunityToolkit-cicd.bat "${{ steps.vars.outputs.community-toolkit-version }}" "${{ steps.vars.outputs.xrsharp-version }}"
- name: Upload the package to the XRSharp feed
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
run: |
dotnet nuget push "XRSharp.CommunityToolkit\build\output\*.nupkg" -k ${{ secrets.MYGET_XRSHARP_TOKEN }} -s ${{ env.package-source-myget }}

0 comments on commit 54bc498

Please sign in to comment.