From 15fd3f069398d31c412e2dcb235f8981fa208501 Mon Sep 17 00:00:00 2001 From: Patrick de Mooij Date: Tue, 7 Mar 2023 22:08:37 +0100 Subject: [PATCH] Another try --- .github/workflows/AllPackages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/AllPackages.yml b/.github/workflows/AllPackages.yml index 6db00965..4175399c 100644 --- a/.github/workflows/AllPackages.yml +++ b/.github/workflows/AllPackages.yml @@ -15,8 +15,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .net core - uses: actions/setup-dotnet@v1.4.0 + - name: Set up .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '7.0.103' + include-prerelease: true - name: Restore dependencies run: dotnet restore ./src/SeoToolkit.Umbraco.sln @@ -25,7 +28,7 @@ jobs: run: dotnet build ./src/SeoToolkit.Umbraco.sln --configuration ${{ env.CONFIG }} --no-restore - name: Create NuGet packages - run: dotnet pack ./src/SeoToolkit.Umbraco.sln -c ${{ env.CONFIG }} --no-build --property:PublishDir=${{ env.OUTPUT }} + run: dotnet pack ./src/SeoToolkit.Umbraco.sln -c ${{ env.CONFIG }} --no-build -o ${{ env.OUTPUT }} # - name: Push packages to NuGet # run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_DEPLOY_KEY }} -s https://api.nuget.org/v3/index.json