-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 1000 Bytes
/
pr-check.yaml
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
name: CI
on:
push:
branches:
- '*' # Trigger on push events for all branches
pull_request:
branches:
- '*' # Trigger on pull request events for all branches
workflow_dispatch: # Trigger for manual runs
jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.x'
- name: Restore dependencies
run: dotnet restore ./Flow.Launcher.Plugin.LinkOpener.csproj
- name: Publish project without self-contained
run: dotnet publish -c Release -r win-x64 --no-self-contained ./Flow.Launcher.Plugin.LinkOpener.csproj
# Attach the zip file to the pull request
- name: Upload DLL zip artifact
uses: actions/upload-artifact@v3
with:
name: Flow.Launcher.Plugin.LinkOpener.dll
path: "./bin/Release/win-x64/publish/Flow.Launcher.Plugin.LinkOpener.dll"