-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.25 KB
/
Copy pathdotnet-desktop.yml
File metadata and controls
49 lines (41 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: .NET Core Desktop
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: windows-latest
env:
Solution_Name: PS3TrophyIsGood.sln
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'true'
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Restore
run: dotnet restore --locked-mode
- name: Build the application
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Download flaresolverr.exe and unzip
run: |
Invoke-WebRequest -Uri https://github.com/FlareSolverr/FlareSolverr/releases/download/v3.4.4/flaresolverr_windows_x64.zip -OutFile flaresolverr_windows_x64.zip
Expand-Archive -Path flaresolverr_windows_x64.zip -DestinationPath PS3TrophyIsGood/bin/Release
- name: Upload files
uses: actions/upload-artifact@v4
with:
name: PS3TrophyIsGood
path: PS3TrophyIsGood/bin/Release