Skip to content

build: Update publish-documentation workflow #328

build: Update publish-documentation workflow

build: Update publish-documentation workflow #328

Workflow file for this run

name: Build and Test
on:
pull_request:
paths:
- 'Source/**'
- 'Tests/**'
- '.github/workflows/ci-build.yml'
- '*.props'
- '*.targets'
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
NUGET_AUTH_TOKEN: ${{secrets.PUBLISH_TO_NUGET_ORG}}
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner."
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.403'
- name: Run Build Script
run: ./.github/workflows/build.ps1
working-directory: ${{ github.workspace }}
- name: Run Test Script
run: ./.github/workflows/test.ps1
working-directory: ${{ github.workspace }}
# End to End Tests
- name: Run End-to-End Tests
run: ./RunE2ETests.ps1
working-directory: ${{ github.workspace }}
env:
UseHttp: "true"
- run: echo "🍏 This job's status is ${{ job.status }}."