Nightly nuget release #1924
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly nuget release | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 2 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: dev | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0.x' | |
| include-prerelease: false | |
| - name: Create and publish nuget | |
| env: | |
| NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
| shell: pwsh | |
| run: | | |
| ./build/build.ps1 | |
| - name: Add & Commit & Push | |
| uses: EndBug/add-and-commit@v6 | |
| with: | |
| message: 'Nightly PnP Framework release' | |
| push: true | |
| branch: dev | |
| token: ${{ secrets.GITHUB_TOKEN }} |