mirror of
https://github.com/modernuo/ModernUO
synced 2026-08-11 22:23:06 -04:00
### Summary * Bumps to .NET 9 with updated dependencies * Comparing a value type against null is no longer allowed * CI/CD now uses the version specified in global.json * Serialization generator updated to .NET 9 with bug fixes, fixes to turkish language, and parallelization
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: Create Release
|
|
|
|
on:
|
|
repository_dispatch:
|
|
types: [release]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
name: Create Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
|
- name: Install .NET 9
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
global-json-file: global.json
|
|
- name: Install NGBV
|
|
uses: dotnet/nbgv@master
|
|
id: nbgv
|
|
- name: Push git changes
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
|
tags: true
|
|
- name: Create Release
|
|
id: create_release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
body: ${{ steps.changelog.outputs.clean_changelog }}
|
|
tag_name: ${{ steps.nbgv.outputs.Version }}
|
|
name: ${{ steps.nbgv.outputs.Version }}
|
|
draft: false
|
|
prerelease: false
|
|
generate_release_notes: true
|
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|