Add GitHub Actions CI to replace AppVeyor and fix build errors #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a modern GitHub Actions CI workflow to replace the existing AppVeyor CI configuration, while also fixing critical build errors that prevented the project from compiling.
Changes
1. Fixed Build Error in ExcelConstants.cs
The project had a syntax error in the
CommonDateTimeFormatsarray initialization that prevented compilation:2. Updated GitHub Actions Workflow
Replaced the outdated
.github/workflows/dotnet-core.yml(which used .NET Core 3.1) with a comprehensive modern CI pipeline:Key improvements:
mainandmasterbranches3. Updated Documentation
README.md(Chinese) to reference GitHub Actions instead of AppVeyorREADME_EN.md(English) to reference GitHub Actions instead of AppVeyor4. Removed AppVeyor Configuration
appveyor.ymlas it's replaced by GitHub ActionsTest Results
✅ All 88 tests pass successfully
✅ Builds successfully for all target frameworks: netstandard2.0, net472, net6.0, netstandard2.1, net8.0, net9.0
✅ NuGet package generation verified
Migration Notes
The new GitHub Actions workflow provides better integration with the GitHub ecosystem and more comprehensive CI coverage than the previous AppVeyor setup. No action is required from contributors - the new CI will automatically run on all pull requests and pushes.
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.