Skip to content

Commit 892a31f

Browse files
committed
(build) added release task
1 parent d02d3d3 commit 892a31f

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,53 @@ jobs:
316316
name: '[Publish]'
317317
shell: pwsh
318318
run: dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
319+
320+
release:
321+
name: Release
322+
needs: [publish]
323+
runs-on: windows-latest
324+
env:
325+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
326+
steps:
327+
-
328+
name: Checkout
329+
uses: actions/checkout@v2
330+
-
331+
name: Fetch all history for all tags and branches
332+
run: git fetch --prune --unshallow
333+
-
334+
name: Use cached cake frosting
335+
id: cache-cake
336+
uses: actions/[email protected]
337+
with:
338+
path: run
339+
key: run-${{ runner.os }}-${{ hashFiles('./build/**') }}
340+
-
341+
name: Use cached tools
342+
id: cache-tools
343+
uses: actions/[email protected]
344+
with:
345+
path: tools
346+
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
347+
-
348+
uses: actions/[email protected]
349+
name: Download native linux packages
350+
with:
351+
name: native-Linux
352+
path: ${{ github.workspace }}/artifacts/packages/native
353+
-
354+
uses: actions/[email protected]
355+
name: Download native windows packages
356+
with:
357+
name: native-Windows
358+
path: ${{ github.workspace }}/artifacts/packages/native
359+
-
360+
uses: actions/[email protected]
361+
name: Download native macos packages
362+
with:
363+
name: native-macOS
364+
path: ${{ github.workspace }}/artifacts/packages/native
365+
-
366+
name: '[Release]'
367+
shell: pwsh
368+
run: dotnet run/release.dll --target=PublishRelease

0 commit comments

Comments
 (0)