Skip to content

Merge remote-tracking branch 'origin/main' #112

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #112

name: CI with Semantic Release
on:
push:
branches:
- main
- master
paths-ignore:
- "**.md"
env:
DOTNET_NOLOGO: true # Disable the .NET logo
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Disable the .NET first time experience
DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry
DONET_VERSION: 9.0.200
jobs:
build:
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DONET_VERSION }}
- name: Install MAUI workload
run: dotnet workload install maui
- uses: actions/checkout@v4
- name: Build
run: dotnet build src/Indiko.Maui.Controls.Chat.sln -c Release
symantic-release:
runs-on: ubuntu-latest
environment:
name: Release
needs: build # This ensures the symantic-release job runs after the build job
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}