-
-
Notifications
You must be signed in to change notification settings - Fork 24
50 lines (48 loc) · 1.83 KB
/
pr.yml
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
50
name: PR Build
on:
pull_request:
branches: [ master ]
paths:
- 'PlaylistManager/**'
- '.github/workflows/**.yml'
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Download SIRA References
uses: ProjectSIRA/download-sira-stripped@1.0.0
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
sira-server-code: ${{ secrets.SIRA_SERVER_CODE }}
- name: Download Mod Dependencies
uses: Goobwabber/download-beatmods-deps@1.2
with:
manifest: ${{github.workspace}}/PlaylistManager/manifest.json
- name: Download Playlists Lib
uses: dawidd6/action-download-artifact@v2.14.0
with:
workflow: BuildMaster.yml
workflow_conclusion: success
name: BeatSaberPlaylistsLib_BS
repo: rithik-b/BeatSaberPlaylistsLib
path: ${{github.workspace}}/Refs
- name: Build
id: Build
run: dotnet build --configuration Release
- name: GitStatus
run: git status
- name: Echo Filename
run: echo $BUILDTEXT \($ASSEMBLYNAME\)
env:
BUILDTEXT: Filename=${{ steps.Build.outputs.filename }}
ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }}
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: "PlaylistManager"
path: ${{ steps.Build.outputs.artifactpath }}