diff --git a/.github/workflows/elsa-2.0.yml b/.github/workflows/elsa-2.0.yml index b6cbababe..9baf9ab6a 100644 --- a/.github/workflows/elsa-2.0.yml +++ b/.github/workflows/elsa-2.0.yml @@ -11,17 +11,20 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.102 - - name: Install dependencies - run: dotnet restore Elsa.sln - - name: Build - run: dotnet pack Elsa.sln --include-symbols -c Release -o out - - name: Push to GitHub registry - with: source-url: https://nuget.pkg.github.com//index.json env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: dotnet nuget push .//out/*.nupkg --skip-duplicate --no-symbols true + + - name: Install dependencies + run: dotnet restore Elsa.sln + + - name: Build + run: dotnet pack Elsa.sln --include-symbols -c Release -o out + + - name: Push to GitHub registry + run: dotnet nuget push .//out/*.nupkg --skip-duplicate --no-symbols true \ No newline at end of file