Skip to content

Commit 2c61a88

Browse files
committed
Setup automated builds
1 parent 547baa7 commit 2c61a88

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "Automated Build"
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
create-build:
7+
runs-on: windows-latest
8+
steps:
9+
- name: "Download source"
10+
uses: actions/checkout@v2
11+
12+
- name: "Download reference dlls"
13+
uses: actions/checkout@v2
14+
with:
15+
repository: ${{ secrets.REFS_REPO }}
16+
token: ${{ secrets.BUILD_PAT }}
17+
path: lib
18+
19+
- name: "Setup .NET"
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 6.x
23+
24+
- name: "Restore dependencies"
25+
run: dotnet restore
26+
shell: pwsh
27+
28+
- name: "Build"
29+
run: dotnet build -c Release --no-restore --output bin
30+
shell: pwsh
31+
32+
- name: "Upload Artifacts"
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: build
36+
path: bin/NoIntro.dll

0 commit comments

Comments
 (0)