File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: .NET
44on :
55 workflow_dispatch :
66 push :
7- branches : [ main,adb ]
7+ branches : [ main, adb ]
88
99jobs :
1010 build :
1616 with :
1717 path : ' QAVS'
1818 submodules : recursive
19-
20-
19+
2120 - name : Cache NuGet packages
2221 uses : actions/cache@v3
2322 with :
@@ -30,27 +29,38 @@ jobs:
3029 uses : actions/setup-dotnet@v3
3130 with :
3231 dotnet-version : 7.0.x
32+
3333 - uses : actions/setup-java@v1
3434 with :
3535 java-version : ' 11'
3636
37-
3837 - name : Add msbuild to PATH
39384039
4140 - name : Restore dependencies
4241 working-directory : ' QAVS'
4342 run : nuget restore
4443
44+ - name : Install Node.js
45+ uses : actions/setup-node@v3
46+ with :
47+ node-version : ' 18'
48+
49+ - name : Install dependencies and build frontend
50+ working-directory : ' QAVS\frontend'
51+ run : |
52+ npm install
53+ npm run build
54+
4555 - name : Build
4656 working-directory : ' QAVS\QuestAppVersionSwitcher'
47- run : msbuild QuestAppVersionSwitcher.csproj /t:PackageForAndroid /t:SignAndroidPackage /p:Configuration=Release
57+ run : msbuild QuestAppVersionSwitcher.csproj /t:PackageForAndroid /t:SignAndroidPackage /p:Configuration=Release
4858
49595060 name : Sign app APK
5161 id : sign_app
5262 with :
53- releaseDirectory : QAVS/ QuestAppVersionSwitcher/ bin/ Release
63+ releaseDirectory : QAVS\ QuestAppVersionSwitcher\ bin\ Release
5464 signingKeyBase64 : ${{ secrets.SIGNING_KEY }}
5565 alias : ${{ secrets.ALIAS }}
5666 keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
You can’t perform that action at this time.
0 commit comments