Updating regression tests
This commit is contained in:
Родитель
cffcb4f97f
Коммит
54f73e6b55
|
@ -1 +0,0 @@
|
|||
mode: ContinuousDeployment
|
|
@ -5,56 +5,9 @@ on:
|
|||
branches:
|
||||
- 'release/**'
|
||||
- 'prototype/**'
|
||||
|
||||
jobs:
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
DOTNET_NOLOGO: '1'
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: '1'
|
||||
PackageOutputPath: '${{ github.workspace }}\package'
|
||||
|
||||
steps:
|
||||
- name: Checkout Configuration
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: GitVersion
|
||||
run: |
|
||||
choco install gitversion.portable -pre -y --no-progress
|
||||
gitversion /l console /output buildserver /config .github\gitversion.yml
|
||||
|
||||
# - name: Setup .NET Core SDK
|
||||
# uses: actions/setup-dotnet@v3.0.3
|
||||
# with:
|
||||
# dotnet-version: '8.0'
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
VersionMajor: '${{ env.GitVersion_Major }}'
|
||||
VersionMinor: '${{ env.GitVersion_Minor }}'
|
||||
VersionPatch: '${{ env.GitVersion_Patch }}'
|
||||
Version: '${{ env.GitVersion_MajorMinorPatch }}'
|
||||
FileVersion: '${{ env.GitVersion_AssemblySemFileVer }}'
|
||||
PackageVersion: '${{ env.GitVersion_SemVer }}'
|
||||
AssemblyVersion: '${{ env.GitVersion_AssemblySemVer }}'
|
||||
InformationalVersion: '${{ env.GitVersion_InformationalVersion }}'
|
||||
run: |
|
||||
dotnet nuget add source "https://nuget.pkg.github.com/unitycontainer/index.json" -n github -u unitycontainer -p ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
|
||||
dotnet msbuild -property:Configuration=Release -verbosity:m -restore:True ${{ github.workspace }}\package.sln
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
dotnet test --no-restore --no-build --configuration Release ${{ github.workspace }}\package.sln
|
||||
|
||||
# - name: Publish Local Package
|
||||
# run: |
|
||||
# dotnet nuget push '${{ env.PackageOutputPath }}\*' --skip-duplicate --source github
|
||||
|
||||
- name: Label Fixed Issues
|
||||
uses: gh-bot/fix-labeler@master
|
||||
build-package-flow:
|
||||
uses: unitycontainer/.github/.github/workflows/build-package-flow.yml@main
|
||||
secrets: inherit
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
image: Visual Studio 2022
|
||||
configuration: Release
|
||||
|
||||
# branches:
|
||||
# only:
|
||||
# - main
|
||||
# - master
|
||||
branches:
|
||||
only:
|
||||
- main
|
||||
- master
|
||||
|
||||
install:
|
||||
- choco install gitversion.portable -pre -y
|
||||
|
|
Загрузка…
Ссылка в новой задаче