From 193e4601b28984f5e62681b1db3a200b523bef50 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Thu, 2 Nov 2023 01:06:45 -0400 Subject: [PATCH] Update workflows --- .github/workflows/ci.yml | 10 +++------- .github/workflows/release.yml | 12 ++++++------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c50b62b..077de8d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ env: jobs: build: name: Windows - runs-on: windows-2019 + runs-on: windows-2022 steps: - name: Checkout uses: actions/checkout@v4.1.1 @@ -20,7 +20,8 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x + dotnet-quality: 'preview' - name: Build run: dotnet build src --configuration Release - name: Upload packages @@ -29,10 +30,5 @@ jobs: name: NuGet packages path: nugets/ retention-days: 7 - - name: Install SQL Server - uses: Particular/install-sql-server-action@v1.0.2 - with: - connection-string-env-var: SQLServerConnectionString - catalog: nservicebus - name: Run tests uses: Particular/run-tests-action@v1.6.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19814c30..8505827e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ env: DOTNET_NOLOGO: true jobs: release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4.1.1 @@ -17,7 +17,8 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x + dotnet-quality: 'preview' - name: Build run: dotnet build src --configuration Release - name: Sign NuGet packages @@ -33,7 +34,6 @@ jobs: name: nugets path: nugets/* retention-days: 1 - - name: Deploy - uses: Particular/push-octopus-package-action@v1.1.0 - with: - octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }} \ No newline at end of file + - name: Push packages + run: dotnet nuget push nugets\*.nupkg --api-key ${{ secrets.FEEDZIO_PUBLISH_API_KEY }} --source "${{ vars.PARTICULAR_PACKAGES_FEED_URL }}" + shell: pwsh \ No newline at end of file