Merge Release into Develop (#912)

* Make CurrentFrame return the actual frame index from the source atlas

* Start the animation controller playing, don't make the consumer manually call it initially

* Play is automatically called in the controller ctor

* Added property to get name of current animation

* Only copy reference files if user opts in by specifying property in csproj

* Update Kni solution to new project structure

* Update Fna solution to new project structure

* Bump version number to 4.0.0

* Update release workflow

* Remove old test
This commit is contained in:
Christopher Whitley
2024-07-08 18:27:54 -04:00
committed by GitHub
parent 3a5269cfea
commit 0fe1064217
8 changed files with 43 additions and 313 deletions
+12 -7
View File
@@ -14,25 +14,30 @@ on:
prerelease:
description: 'Is this a prerelease?'
required: true
default: 'true'
type: boolean
default: true
source-feed:
description: |
Which source feed to publish to?
(Valid values are 'NuGet' or 'GitHub')
description: 'Which source feed to publish to?'
required: true
default: GitHub
type: choice
options:
- GitHub
- NuGet
default: 'GitHub'
jobs:
build:
name: "Build MonoGame.Extended"
runs-on: ubuntu-latest
env:
IS_PRERELEASE: ${{ inputs.prerelease == 'true' }}
BUILD_NUMBER: ${{ inputs.prerelease == 'true' && github.run_number || '' }}
IS_PRERELEASE: ${{ inputs.prerelease || '' }}
BUILD_NUMBER: ${{ inputs.prerelease && github.run_number || '' }}
steps:
- name: Clone Repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.prerelease && 'develop' || 'main' }}
- name: Setup Dotnet
uses: actions/setup-dotnet@v4