Skip to content

Commit 274dbae

Browse files
committed
Checkout on release for hub
1 parent e1552f2 commit 274dbae

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/deploy-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- build
3535
- build-standalone-binaries
3636
steps:
37+
- *checkout
38+
- *setup-dotnet
39+
- *setup-nuget
3740
- *download-artifacts
3841
- name: 'Create Release'
3942
run: |

.github/workflows/deploy-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,24 @@ jobs:
127127
- build
128128
- build-standalone-binaries
129129
steps:
130+
- uses: actions/checkout@v3
131+
with:
132+
fetch-depth: '0'
133+
134+
- name: Setup .NET
135+
uses: actions/setup-dotnet@v3
136+
with:
137+
dotnet-version: |
138+
3.1.x
139+
5.0.x
140+
6.x
141+
7.x
142+
143+
- name: Setup NuGet
144+
run: |
145+
dotnet nuget update source github --store-password-in-clear-text --username AshleighAdams --password ${{ secrets.PERSONAL_ACCESS_TOKEN }}
146+
dotnet nuget enable source github
147+
130148
- name: Download Artifacts
131149
uses: actions/download-artifact@v2
132150

0 commit comments

Comments
 (0)