Skip to content

Update nightly2.yml

Update nightly2.yml #4

Workflow file for this run

name: nightly2
on:
push:
workflow_dispatch:
env:
DOCFX_PREVIEW_BUILD: false
jobs:
publish-github-packages:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: version
uses: paulhatch/semantic-version@v5.4.0
with:
version_format: ${major}.${minor}.${patch}-preview.${increment}
- uses: ./.github/actions/build
- name: dotnet pack
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} /p:ApiCompatGenerateSuppressionFile=true -o drop/nuget