File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1212 - name : 🤘 checkout
1313 uses : actions/checkout@v2
1414 - name : 🖉 version
15- run : echo "VERSION_SUFFIX=$(git name-rev --name-only --refs=refs/heads/* HEAD).$($env:GITHUB_RUN_NUMBER)" >> $GITHUB_ENV
15+ run : echo "VERSION_SUFFIX=$(git name-rev --name-only --refs=refs/heads/* HEAD).$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
16+ shell : bash
1617 - name : ⚙ dotnet 5.0.x
1718 uses : actions/setup-dotnet@v1
1819 with :
@@ -29,11 +30,13 @@ jobs:
2930 run : dotnet tool update -g dotnet-vs
3031 - name : 🔍 vs 16.8+
3132 run : echo "MSB=$(vs where --prop=InstallationPath --first -version 16.8)" >> $GITHUB_ENV
33+ shell : bash
3234 - name : 🔽 vs community
3335 run : vs install community --quiet +Microsoft.VisualStudio.Component.ManagedDesktop.Core +Microsoft.NetCore.Component.DevelopmentTools
3436 if : env.MSB == ''
3537 - name : ≥ msbuild
3638 run : echo "$(vs where --prop=InstallationPath --first -version 16.8)\MSBuild\Current\Bin" >> $GITHUB_PATH
39+ shell : bash
3740 - name : 🙏 build
3841 run : msbuild -r -p:versionsuffix=$($env:VERSION_SUFFIX)
3942 - name : 🧪 test
Original file line number Diff line number Diff line change @@ -33,11 +33,13 @@ jobs:
3333 run : dotnet tool update -g dotnet-vs
3434 - name : 🔍 vs 16.8+
3535 run : echo "MSB=$(vs where --prop=InstallationPath --first -version 16.8)" >> $GITHUB_ENV
36+ shell : bash
3637 - name : 🔽 vs community
3738 run : vs install community --quiet +Microsoft.VisualStudio.Component.ManagedDesktop.Core +Microsoft.NetCore.Component.DevelopmentTools
3839 if : env.MSB == ''
3940 - name : ≥ msbuild
4041 run : echo "$(vs where --prop=InstallationPath --first -version 16.8)\MSBuild\Current\Bin" >> $GITHUB_PATH
42+ shell : bash
4143 - name : 🙏 build
4244 run : msbuild -r -p:version=$($env:VERSION)
4345 - name : 🧪 test
You can’t perform that action at this time.
0 commit comments