-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
32 changed files
with
636 additions
and
351 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Bump up version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pre_release: | ||
description: 'is preview' | ||
type: boolean | ||
required: true | ||
default: false | ||
|
||
jobs: | ||
bump-up-version: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@master | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup .NET Core SDK | ||
uses: actions/setup-dotnet@master | ||
with: | ||
dotnet-version: '8.0.x' | ||
include-prerelease: true | ||
|
||
- name: Publish | ||
working-directory: ./build | ||
run: | | ||
git config --local user.name "${{ github.actor }}" | ||
git config --local user.email "[email protected]" | ||
dotnet new tool-manifest | ||
dotnet tool install cake.tool --version 4.0.0 | ||
dotnet tool install minver-cli --version 3.0.0 | ||
dotnet cake --username="${{ github.actor }}" --email="[email protected]" --pre-release=${{ inputs.pre_release }} | ||
- name: Push git changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} | ||
tags: true | ||
|
||
- name: Push to nuget | ||
run: dotnet nuget push ./build/outputs/nuget/*nupkg -k ${{ secrets.NUGETTOKEN }} |
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,19 +1,8 @@ | ||
.vs | ||
.config | ||
*.user | ||
*.xml | ||
[Bb]in/ | ||
[Oo]bj/ | ||
packages/ | ||
build/* | ||
!build/build.cake | ||
!build/build.Lang.template | ||
!build/create_lang_nuspec_file.py | ||
!build/create_nupkg_file.ps1 | ||
!build/build.ps1 | ||
!build/version-bump-up-manual.md | ||
!build/LICENSE | ||
!build/icon.png | ||
!build/tools/ | ||
build/tools/* | ||
!build/tools/packages.config | ||
!build/tools/VisualStudioToolsManifest.xml | ||
build/outputs | ||
build/tools |
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 was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.