Skip to content

Commit f85a641

Browse files
committed
(GH-2028) Added release step for GH Actions
1 parent 19a38d2 commit f85a641

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,34 @@ jobs:
198198
- name: '[Publish]'
199199
shell: pwsh
200200
run: ./build.ps1 -target Publish-${{ matrix.taskName }}
201+
202+
release:
203+
name: Release
204+
needs: [docker, publish]
205+
runs-on: windows-latest
206+
env:
207+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
208+
steps:
209+
- uses: actions/checkout@v2
210+
- name: Fetch all history for all tags and branches
211+
run: |
212+
git fetch --prune --unshallow
213+
- name: Cache tools
214+
id: cache-tools
215+
uses: actions/cache@v1
216+
with:
217+
path: tools
218+
key: ${{ runner.os }}-tools-${{ hashFiles('build.cake') }}
219+
- name: Cache dotnet
220+
id: cache-dotnet
221+
uses: actions/cache@v1
222+
with:
223+
path: .dotnet
224+
key: ${{ runner.os }}-dotnet-${{ hashFiles('build.config') }}
225+
- uses: actions/download-artifact@v1
226+
with:
227+
name: storage
228+
path: ${{ github.workspace }}/artifacts
229+
- name: '[Release]'
230+
shell: pwsh
231+
run: ./build.ps1 -target Release

0 commit comments

Comments
 (0)