diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82bb35c1..ac0457dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,8 @@ name: Build on: push: - branches: main + branches: + - main pull_request: release: types: @@ -58,6 +59,9 @@ jobs: name: 'Push GitHub Packages' needs: build if: github.ref == 'refs/heads/main' || github.event_name == 'release' + environment: + name: 'GitHub Packages' + url: https://github.com/RehanSaeed/Serilog.Exceptions/packages runs-on: windows-latest steps: - name: 'Download Artefact' @@ -75,6 +79,9 @@ jobs: name: 'Push NuGet Packages' needs: build if: github.event_name == 'release' + environment: + name: 'NuGet' + url: https://www.nuget.org/packages?q=Serilog.Exceptions runs-on: windows-latest steps: - name: 'Download Artefact'