Skip to content

Add workflow_dispatch to release workflow for manual triggering #11

Add workflow_dispatch to release workflow for manual triggering

Add workflow_dispatch to release workflow for manual triggering #11

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
# Skip CI if commit message contains [skip ci]
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET 9
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --configuration Release --no-build --verbosity normal
- name: Test summary
if: success()
run: echo "✅ All tests passed"