-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
288 changed files
with
29,547 additions
and
17,736 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,51 +2,50 @@ name: Build Yarn Spinner | |
|
||
on: | ||
push: | ||
branches: [ main, 'feature/**', 'release/**' ] | ||
branches: [main, "feature/**", "release/**"] | ||
pull_request: | ||
branches: [ main, 'feature/**' ] | ||
branches: [main, "feature/**", "release/**"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Fetch all commits | ||
run: git fetch --unshallow | ||
|
||
- uses: gittools/actions/gitversion/[email protected] | ||
name: Install GitVersion | ||
with: | ||
versionSpec: '6.x' | ||
|
||
- uses: gittools/actions/gitversion/[email protected] | ||
name: Execute GitVersion | ||
id: gitversion # step id used as reference for output values | ||
with: | ||
updateAssemblyInfo: true | ||
- name: Print version information | ||
run: | | ||
echo "Major: ${{ steps.gitversion.outputs.major }}" | ||
echo "Minor: ${{ steps.gitversion.outputs.minor }}" | ||
echo "Patch: ${{ steps.gitversion.outputs.patch }}" | ||
echo "MajorMinorPatch: ${{ steps.gitversion.outputs.majorMinorPatch }}" | ||
echo "SemVer: ${{ steps.gitversion.outputs.semVer }}" | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Build | ||
run: dotnet build --no-restore --configuration Release | ||
|
||
- name: Test | ||
run: dotnet test --no-build --configuration Release --verbosity normal | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Fetch all commits | ||
run: git fetch --unshallow | ||
|
||
- uses: gittools/actions/gitversion/[email protected] | ||
name: Install GitVersion | ||
with: | ||
versionSpec: "6.x" | ||
|
||
- uses: gittools/actions/gitversion/[email protected] | ||
name: Execute GitVersion | ||
id: gitversion # step id used as reference for output values | ||
with: | ||
updateAssemblyInfo: true | ||
|
||
- name: Print version information | ||
run: | | ||
echo "Major: ${{ steps.gitversion.outputs.major }}" | ||
echo "Minor: ${{ steps.gitversion.outputs.minor }}" | ||
echo "Patch: ${{ steps.gitversion.outputs.patch }}" | ||
echo "MajorMinorPatch: ${{ steps.gitversion.outputs.majorMinorPatch }}" | ||
echo "SemVer: ${{ steps.gitversion.outputs.semVer }}" | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Build | ||
run: dotnet build --no-restore --configuration Release | ||
|
||
- name: Test | ||
run: dotnet test --no-build --configuration Release --verbosity normal |
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
Oops, something went wrong.