FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SignNow.NET/.github/workflows/release.yml at develop · Yagg/SignNow.NET · GitHub
Yagg
/
SignNow.NET
Public
forked from
signnow/SignNow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SignNow.NET
/
.github
/
workflows
/
release.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
70 lines (58 loc) · 2.22 KB
Breadcrumbs
SignNow.NET
/
.github
/
workflows
/
release.yml
Copy path
File metadata and controls
70 lines (58 loc) · 2.22 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name
:
Create Release
on
:
push
:
tags
:
-
'
*
'
jobs
:
build
:
runs-on
:
ubuntu-22.04
env
:
COREHOST_TRACE
:
false
DOTNET_CLI_TELEMETRY_OPTOUT
:
1
#
Disable sending usage data to Microsoft
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
:
1
#
prevent the caching of the packages on the build machine
DOTNET_NOLOGO
:
true
#
removes logo and telemetry message from first run of dotnet cli
NUGET_XMLDOC_MODE
:
skip
#
prevent the download of the XML documentation for the packages
defaults
:
run
:
shell
:
pwsh
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Setup .NET 8
uses
:
actions/setup-dotnet@v4
with
:
dotnet-version
:
|
7.0.x
8.0.x
-
name
:
Setup Nuget Cache
uses
:
actions/cache@v4
id
:
nuget-cache
with
:
path
:
~/.nuget
key
:
${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys
:
${{ runner.os }}-nuget-
-
name
:
Restore Nuget packages
run
:
dotnet restore -v:n
-
name
:
Prepare Release Assets
id
:
get-version
shell
:
bash
run
:
|
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
.github/release-notes.sh CHANGELOG.md > release-notes.txt
-
name
:
Creates Nuget package
run
:
dotnet pack --configuration Release --output ./SignNow.Net/bin/Publish SignNow.Net
-
name
:
Create Release
uses
:
ncipollo/release-action@v1
with
:
token
:
${{ secrets.GITHUB_TOKEN }}
name
:
signNow .Net SDK v${{ steps.get-version.outputs.VERSION }}
tag
:
${{ steps.get-version.outputs.VERSION }}
bodyFile
:
${{ github.workspace }}/release-notes.txt
allowUpdates
:
true
artifacts
:
${{ github.workspace }}/SignNow.Net/bin/Publish/*.nupkg
artifactContentType
:
application/octet-stream
-
name
:
Publish Nuget Package
working-directory
:
${{ github.workspace }}/SignNow.Net/bin/Publish
run
:
|
dotnet nuget push SignNow.Net.${{ steps.get-version.outputs.VERSION }}.nupkg \
-k ${{ secrets.NUGET_TOKEN }} \
-s https://api.nuget.org/v3/index.json
Back
|
FazBrowse Home
|
New Git URL