-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.03 KB
/
build.yml
File metadata and controls
39 lines (36 loc) · 1.03 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
name: Build
on: [ push, pull_request ]
defaults:
run:
shell: bash
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Build
run: |
dotnet build -c Release
- run: |
- run: |
mkdir -p tmp/Runtime/GrpcInterface/Generated
cp -r Plugins tmp
cp -r YetAnotherHttpHandler tmp
cp -r Runtime/GrpcInterface/Generated/* tmp/Runtime/GrpcInterface/Generated/
- uses: actions/upload-artifact@v4
with:
name: Build-Artifacts
path: tmp
dispatch:
runs-on: ubuntu-latest
needs: [ build]
if: github.repository == 'VisualPinball/VisualPinball.Engine.Mpf' && github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_PAT }}
event-type: build-complete
client-payload: '{"artifacts_run_id": "${{ github.run_id }}"}'