-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (35 loc) · 1.46 KB
/
CD.yml
File metadata and controls
44 lines (35 loc) · 1.46 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
40
41
42
43
44
name: CD
on:
workflow_dispatch:
# workflow_dispatch:
release:
types: [published]
env:
TITLE: "Thread-Safe Objects"
DESCRIPTION: "A combination of generic Thread-Safe objects for .Net development."
TAGS: "thunderdesign threading thread%2Dsafe thread%2Dsafety threadsafe maui maui%2Dapp c%2Dsharp dotnet%2Dstandard dotnet%2Dframework dotnet%2Dcore cross%2Dplatform pcl%2Dlibrary xamarin unity csharp net dotnet bindable binding"
#FILE_NAME: ex: "ThunderDesign.Net-PCL.Threading"
FILE_NAME: "${{ github.event.repository.name }}"
#REPOSITORY_NAME: ex: "ThunderDesign.Net-PCL.Threading"
REPOSITORY_NAME: ${{ github.event.repository.name }}
#REPOSITORY_OWNER: ex: "ThunderDesign"
REPOSITORY_OWNER: ${{ github.repository_owner }}
#GITHUB_URL: ex: "https://github.com/ThunderDesign"
GITHUB_URL: ${{ github.server_url }}/${{ github.repository_owner }}
#REPOSITORY_URL: ex: "https://github.com/ThunderDesign/ThunderDesign.Net-PCL.Threading"
REPOSITORY_URL: ${{ github.server_url }}/${{ github.repository_owner }}/${{ github.event.repository.name }}
PACKAGE_OUTPUT_DIRECTORY: ${{ github.workspace }}\output
jobs:
pack:
runs-on: [windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5