File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
dotnet/RAWeb.Server.Management.ServiceHost Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 66jobs :
77 build_and_release :
88 name : Build and release
9- runs-on : ubuntu -latest
9+ runs-on : windows -latest
1010 permissions :
1111 contents : write
1212 env :
2020 id : version
2121 env :
2222 GH_TOKEN : ${{ github.token }}
23+ shell : bash
2324 run : |
2425 today=$(date +'%Y.%m.%d')
2526 default_version="v${today}.0"
5051
5152 - name : Clean version string
5253 id : clean_version
54+ shell : bash
5355 run : |
5456 VERSION="${{ steps.version.outputs.version }}"
5557
7072
7173 - name : " Update .csproj FileVersion"
7274 if : success()
75+ shell : bash
7376 run : |
7477 CLEAN_VERSION="${{ steps.clean_version.outputs.CLEAN_VERSION }}"
7578
9194 done
9295
9396 - name : Move repository setup.ps1 to aspx/wwwroot so it is included in the release archive
97+ shell : bash
9498 run : |
9599 mv setup.ps1 aspx/wwwroot/setup.ps1
96100
@@ -138,6 +142,7 @@ jobs:
138142 run : dotnet build RAWeb.sln --configuration Release --no-restore
139143
140144 - name : Replace App_Code and bin directories with build output
145+ shell : bash
141146 run : |
142147 rm -rf aspx/wwwroot/App_Code
143148 rm -rf aspx/wwwroot/bin
@@ -151,6 +156,7 @@ jobs:
151156 filename : " ../../raweb_${{ steps.version.outputs.version }}.zip"
152157
153158 - name : Write release install.ps1
159+ shell : bash
154160 run : |
155161 cat <<EOF > "install.ps1"
156162 [CmdletBinding()]
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net462</TargetFramework >
5+ <RuntimeIdentifier >win-x64</RuntimeIdentifier >
56 <LangVersion >13.0</LangVersion >
67 <OutputType >WinExe</OutputType >
78 <ImplicitUsings >disable</ImplicitUsings >
Original file line number Diff line number Diff line change 2020 }
2121 }
2222 },
23- ".NETFramework,Version=v4.6.2/win-x86 " : {}
23+ ".NETFramework,Version=v4.6.2/win-x64 " : {}
2424 }
2525}
You can’t perform that action at this time.
0 commit comments