Skip to content

Release

Release #8

Workflow file for this run

name: Release
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
on:
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set git identity
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Build
run: ./build.sh -t Release
shell: bash
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Upload the static files
- name: Upload documentation
uses: actions/upload-pages-artifact@v3
with:
path: ./output
# GitHub Actions recommends deploying in a separate job.
DeployDocs:
runs-on: ubuntu-latest
needs: Release
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4