Skip to content

Commit

Permalink
use checkout instead of shallow
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Mar 10, 2020
1 parent 7b33a5f commit 1adb988
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
build-test:
executor: dotnet
steps:
- git-shallow-clone/checkout_shallow
- checkout
- run: dotnet build ./src/MagicOnion/ -c Debug
- run: dotnet build ./src/MagicOnion.Abstractions/ -c Debug
- run: dotnet build ./src/MagicOnion.Hosting/ -c Debug
Expand All @@ -61,7 +61,7 @@ jobs:
build-push:
executor: dotnet
steps:
- git-shallow-clone/checkout_shallow
- checkout
# build .NET Core projects
- run: dotnet build ./src/MagicOnion/ -c Release -p:VersionPrefix=${CIRCLE_TAG}
- run: dotnet build ./src/MagicOnion.Abstractions/ -c Release -p:VersionPrefix=${CIRCLE_TAG}
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
- /Users/distiller/Downloads/Unity_Packages/2018.4.5f1/UnitySetup-Android-Support-for-Editor-2018.4.5f1.pkg
when: on_success
# checkout and run unity build
- git-shallow-clone/checkout_shallow
- checkout
- run:
command: source $BASH_ENV && /Applications/Unity_2018.4.5f1/Unity.app/Contents/MacOS/Unity -quit -batchmode -nographics -silent-crashes -logFile -noUpm -executeMethod BatchBuild.Build -platform android -locationpath ./build/chatapp.apk -serial ${UNITY_SERIAL} -username ${UNITY_USERNAME} -password ${UNITY_PASSWORD}
working_directory: ./samples/ChatApp/ChatApp.Unity
Expand All @@ -209,7 +209,7 @@ jobs:
canary-build-and-push-nuget:
executor: dotnet
steps:
- git-shallow-clone/checkout_shallow
- checkout
- run: echo "export MAGICONION_VERSION=`echo ci-\`date '+%Y%m%d-%H%M%S'\`+${CIRCLE_SHA1:0:6}`" >> $BASH_ENV
- run: echo "MAGICONION_VERSION=${MAGICONION_VERSION}"
# build .NET Core projects
Expand Down

0 comments on commit 1adb988

Please sign in to comment.