-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
33 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,23 +11,23 @@ jobs: | |
|
||
steps: | ||
- name: Checkout the requested branch | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v3 | ||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
- name: Cache Tools | ||
uses: actions/cache@v2.1.4 | ||
uses: actions/cache@v3 | ||
with: | ||
path: tools | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
- name: Set up git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
uses: gittools/actions/gitversion/[email protected].11 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
with: | ||
versionSpec: "5.x" | ||
- name: Run git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].11 | ||
uses: gittools/actions/gitversion/[email protected].15 | ||
- name: Create release branch ${{ github.event.inputs.version }} | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} | ||
|
@@ -38,10 +38,9 @@ jobs: | |
branch: "release/${{ steps.gitversion.outputs.majorMinorPatch }}" | ||
github_token: ${{ secrets.GH_TOKEN }} | ||
- name: Drafting Release Notes | ||
uses: cake-build/cake-action@v1 | ||
uses: cake-build/cake-action@v1.4.1 | ||
with: | ||
script-path: recipe.cake | ||
target: releasenotes | ||
verbosity: Diagnostic | ||
cake-version: 0.38.5 | ||
cake-bootstrap: true | ||
cake-version: tool-manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
$ErrorActionPreference = 'Stop' | ||
|
||
$SCRIPT_NAME = "recipe.cake" | ||
|
||
Write-Host "Restoring .NET Core tools" | ||
dotnet tool restore | ||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } | ||
|
||
Write-Host "Bootstrapping Cake" | ||
dotnet cake $SCRIPT_NAME --bootstrap | ||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } | ||
|
||
Write-Host "Running Build" | ||
dotnet cake $SCRIPT_NAME @args | ||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters