-
Notifications
You must be signed in to change notification settings - Fork 92
51 lines (41 loc) · 1.27 KB
/
release.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
51
name: .NET Framework Release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: windows-latest
env:
Configuration: Release
Solution: SharpSCCM.sln
steps:
# Checkout repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Setup packages
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- run: nuget restore $env:Solution
# Build
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Build solution
run: msbuild $env:Solution -t:rebuild -property:Configuration=$env:Configuration
# Release
- name: Update release
uses: softprops/action-gh-release@v1
with:
name: Rolling Release
tag_name: rolling
body: |
This is the rolling release of ${{ env.Solution }} compiled from source (${{ github.sha }}).
The repository updates releases automatically to keep them up-to-date with the `${{ github.ref_name }}` ${{ github.ref_type }}.
Releases were last built on ${{ env.BUILD_DATE }}.
fail_on_unmatched_files: true
files: |
D:/a/SharpSCCM/SharpSCCM/bin/Release/SharpSCCM.exe
RELEASE_NOTES.md