From 35fc3b5ccb849f3b0a8bfb808d29ea9255c6ed6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Andr=C3=A9s=20Morgan?= Date: Mon, 24 Jul 2023 15:24:58 -0600 Subject: [PATCH] Fix de Gh Actions --- .github/workflows/publish.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8096fd84e..b3047aa62 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,13 +19,9 @@ jobs: 6.0.x 7.0.x - name: Create NuGet Packages - run: dotnet pack $env:Solution_Name --configuration=$env:Configuration -p:Version=$env:GIT_REF_NAME -p:RepositoryBranch=${{ github.ref }} -p:ContinuousIntegrationBuild=true - + run: dotnet pack $env:Solution_Name --configuration=${{ env.Configuration }} -p:Version=${{ github.ref_name }} -p:RepositoryBranch=${{ github.ref }} -p:ContinuousIntegrationBuild=true - name: Push packages to GitHub - run: dotnet nuget push "Build/**/*.nupkg" -k $env:GhToken --skip-duplicate --source "https://nuget.pkg.github.com/TheXDS/" - env: - GhToken: ${{ secrets.GITHUB_TOKEN }} + run: dotnet nuget push "Build/**/*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --source "https://nuget.pkg.github.com/TheXDS/" - name: Push packages to NuGet - run: dotnet nuget push "Build/**/*.nupkg" -k $env:NgToken --skip-duplicate --source "https://api.nuget.org/v3/index.json" - env: - NgToken: ${{ secrets.NUGET_TOKEN }} + run: dotnet nuget push "Build/**/*.nupkg" -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source "https://api.nuget.org/v3/index.json" +