diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b629ca6..daf167f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,31 +31,31 @@ jobs: path: artifacts/*.nupkg retention-days: 2 - publish: - name: Publish - needs: build_test_pack - runs-on: windows-latest - env: - nugetSource: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json - DOTNET_NOLOGO: 1 - steps: - - name: Download artifacts - uses: actions/download-artifact@v2 - with: - name: packages - - name: Publish to Github Packages - run: dotnet nuget push *.nupkg --source $env:nugetSource --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} + # publish: + # name: Publish + # needs: build_test_pack + # runs-on: windows-latest + # env: + # nugetSource: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json + # DOTNET_NOLOGO: 1 + # steps: + # - name: Download artifacts + # uses: actions/download-artifact@v2 + # with: + # name: packages + # - name: Publish to Github Packages + # run: dotnet nuget push *.nupkg --source $env:nugetSource --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} - cleanup: - name: Cleanup - needs: build_test_pack - runs-on: ubuntu-latest - steps: - - name: Cleanup old Packages - uses: actions/delete-package-versions@v3 - with: - package-name: 'EPiServer.Templates' - min-versions-to-keep: 10 - # 1-in-1-out - num-old-versions-to-delete: 1 - delete-only-pre-release-versions: "true" + # cleanup: + # name: Cleanup + # needs: build_test_pack + # runs-on: ubuntu-latest + # steps: + # - name: Cleanup old Packages + # uses: actions/delete-package-versions@v3 + # with: + # package-name: 'EPiServer.Templates' + # min-versions-to-keep: 10 + # # 1-in-1-out + # num-old-versions-to-delete: 1 + # delete-only-pre-release-versions: "true"