File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 4848 run : msbuild /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(pwd)/keypair.snk /p:Configuration=Release ./OptimizelySDK.NETFramework.sln
4949 - name : Install & Run NUnit tests
5050 run : |
51- nuget install NUnit.Console -Version 3.15.2 -DirectDownload -OutputDirectory .
51+ nuget install NUnit.Console -Version 3.18.1 -DirectDownload -OutputDirectory .
5252 # https://docs.nunit.org/articles/nunit/running-tests/Console-Command-Line.html
53- ./NUnit.ConsoleRunner.3.15.2 \tools\nunit3-console.exe /timeout 10000 /process Separate ./OptimizelySDK.Tests/bin/Release/OptimizelySDK.Tests.dll
53+ ./NUnit.ConsoleRunner.3.18.1 \tools\nunit3-console.exe /timeout 10000 /process Separate ./OptimizelySDK.Tests/bin/Release/OptimizelySDK.Tests.dll
5454
5555 netStandard16 :
5656 name : Build Standard 1.6
Original file line number Diff line number Diff line change 1515 - name : Set semantic version variable
1616 id : set_version
1717 run : |
18- TAG=${{ env.TAG }}
19- SEMANTIC_VERSION=$(echo "${TAG}" | grep -Po "(?<=^|[^0-9])([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-[a-zA-Z]+[0-9]*)?)")
18+ SEMANTIC_VERSION=$(echo "$TAG" | grep -Po "(?<=^|[^0-9])([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?(-[a-zA-Z]+[0-9]*)?)")
2019 if [ -z "${SEMANTIC_VERSION}" ]; then
2120 echo "Tag did not start with a semantic version number (e.g., #.#.#; #.#.#.#; #.#.#.#-beta)"
2221 exit 1
@@ -25,10 +24,10 @@ jobs:
2524 - name : Output tag & semantic version
2625 id : outputs
2726 run : |
28- echo ${{ env. TAG }}
27+ echo "$ TAG"
2928 echo ${{ steps.set_version.outputs.semantic_version }}
3029 outputs :
31- tag : ${{ env. TAG }}
30+ tag : $TAG
3231 semanticVersion : ${{ steps.set_version.outputs.semantic_version }}
3332
3433 buildFrameworkVersions :
Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ jobs:
2323 path : ' home/runner/travisci-tools'
2424 ref : ' master'
2525 - name : set SDK Branch if PR
26+ env :
27+ HEAD_REF : ${{ github.head_ref }}
2628 if : ${{ github.event_name == 'pull_request' }}
2729 run : |
28- echo "SDK_BRANCH=${{ github.head_ref }} " >> $GITHUB_ENV
29- echo "TRAVIS_BRANCH=${{ github.head_ref }} " >> $GITHUB_ENV
30+ echo "SDK_BRANCH=$HEAD_REF " >> $GITHUB_ENV
31+ echo "TRAVIS_BRANCH=$HEAD_REF " >> $GITHUB_ENV
3032 - name : set SDK Branch if not pull request
33+ env :
34+ REF_NAME : ${{ github.ref_name }}
3135 if : ${{ github.event_name != 'pull_request' }}
3236 run : |
33- echo "SDK_BRANCH=${{ github.ref_name }} " >> $GITHUB_ENV
34- echo "TRAVIS_BRANCH=${{ github.ref_name }} " >> $GITHUB_ENV
37+ echo "SDK_BRANCH=$REF_NAME " >> $GITHUB_ENV
38+ echo "TRAVIS_BRANCH=$REF_NAME " >> $GITHUB_ENV
3539 - name : Trigger build
3640 env :
3741 SDK : csharp
You can’t perform that action at this time.
0 commit comments