Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move build to GitHub actions #167

Open
ErikEJ opened this issue Oct 21, 2024 · 0 comments
Open

Move build to GitHub actions #167

ErikEJ opened this issue Oct 21, 2024 · 0 comments

Comments

@ErikEJ
Copy link
Owner

ErikEJ commented Oct 21, 2024

version: 0.9.7.{build}
pull_requests:
  do_not_increment_build_number: true
branches:
  only:
  - master
image: Visual Studio 2022
configuration: Release
assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
build_script:
- cmd: >-
    dotnet restore ./src/SqlQueryStress/SqlQueryStress.csproj

    dotnet restore ./src/SqlQueryStressCLI/sqlstresscmd.csproj


    dotnet build ./src/SqlQueryStress.sln


    dotnet publish ./src/SQLQueryStress/SqlQueryStress.csproj --configuration Release --output %APPVEYOR_BUILD_FOLDER%\src\SQLQueryStress\bin\Publish\net6.0-windows\ --self-contained true


    7z a SqlQueryStressNet6.zip %APPVEYOR_BUILD_FOLDER%\src\SQLQueryStress\bin\Publish\net6.0-windows\*.exe
artifacts:
- path: SqlQueryStressNet6.zip
  name: SqlQueryStress
- path: '**\*.nupkg'
  name: sqlstresscmd
deploy:
- provider: NuGet
  api_key:
  artifact: sqlstresscmd
  on:
    branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant