-
Notifications
You must be signed in to change notification settings - Fork 60
48 lines (48 loc) · 1.38 KB
/
internal-test-build.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
name: Build desktop binaries
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-package:
name: Build self-contained executables
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:8.0
strategy:
matrix:
include:
- platform: windows
platform-short: win
runtime: win-x64
- platform: windows
platform-short: win
runtime: win-arm64
- platform: mac
platform-short: mac
runtime: osx-x64
- platform: mac
platform-short: mac
runtime: osx-arm64
- platform: linux
platform-short: linux
runtime: linux-x64
- platform: linux
platform-short: linux
runtime: linux-arm64
steps:
- name: Check .NET version
run: dotnet --version
- name: Checkout source code
uses: actions/checkout@v3
- name: Execute Action build-with-plugins
uses: ./.github/actions/build-with-plugins
with:
platform: ${{ matrix.platform }}
platform-short: ${{ matrix.platform-short }}
runtime: ${{ matrix.runtime }}
build-version: 0.0.${{ github.run_number }}
env:
PLATFORM: ${{ matrix.platform }}
RUNTIME: ${{ matrix.runtime }}