File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Console Project
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ branch :
7+ description : ' Branch'
8+ required : false
9+ default : ' develop'
10+
11+ jobs :
12+ run-console :
13+ runs-on : ubuntu-22.04
14+
15+ steps :
16+ - name : Checkout Public Repository
17+ uses : actions/checkout@v3
18+
19+ - name : Clone Private Repository
20+ env :
21+ PAT_TOKEN : ${{ secrets.PAT_TOKEN }}
22+ run : |
23+ git clone --branch ${{ github.event.inputs.branch || 'develop' }} https://x-access-token:${PAT_TOKEN}@github.com/educup/educup-server.git
24+
25+ - name : Setup .NET Core 3.1.x
26+ uses : actions/setup-dotnet@v4
27+ with :
28+ dotnet-version : ' 3.1.x'
29+
30+ - name : Restore .NET packages
31+ run : dotnet restore educup-server/Playground/VAConsole/VAConsole.csproj --locked-mode
32+
33+ - name : Build the project
34+ run : dotnet build educup-server/Playground/VAConsole/VAConsole.csproj --configuration Release
35+
36+ - name : Run the console project
37+ run : dotnet run --project educup-server/Playground/VAConsole/VAConsole.csproj --configuration Release
You can’t perform that action at this time.
0 commit comments