-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (28 loc) · 859 Bytes
/
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
name: Build
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Build (x64)
run: dotnet build Community.PowerToys.Run.Plugin.TOTP.csproj -a x64
- name: Build (ARM64)
run: dotnet build Community.PowerToys.Run.Plugin.TOTP.csproj -a ARM64
- name: Upload a Build Artifact (x64)
uses: actions/upload-artifact@v3.2.1-node20
with:
name: TOTP-${{ github.sha }}-x64
path: bin/Debug/net6.0-windows/win-x64
- name: Upload a Build Artifact (ARM64)
uses: actions/upload-artifact@v3.2.1-node20
with:
name: TOTP-${{ github.sha }}-ARM64
path: bin/Debug/net6.0-windows/win-ARM64