Skip to content

Commit

Permalink
target multiple dotnet versions (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeebowen authored Jan 23, 2024
1 parent 7f7934f commit 29af108
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
env:
AZURE_FUNCTIONAPP_NAME: OOXMLValidator # set this to your application's name
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
DOTNET_VERSION: '8.x' # set this to the dotnet version to use

jobs:
test:
Expand All @@ -22,14 +21,17 @@ jobs:
- macos-latest
- ubuntu-latest
- windows-latest
dotnet-version:
- 6.x
- 8.x
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
- name: Setup DotNet ${{ matrix.dotnet-version }} Environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.1.2] - 2024-01-23

### Updated
- Add build for dotnet 8

## [2.1.1] - 2024-01-22

## Updated
### Updated

- Updated to OOXML SDK 3.0
- Updated to dotnet 8

## [2.1.1] - 2022-10-27

## Fixed
### Fixed

- Update Path property on ValidationErrorInfoInternal to have type XmlPath

## [2.1.0] - 2022-09-29

## Added
### Added

- Updated Open XML SDK Version

## [2.0.0] - 2022-07-27

## Added
### Added

- Returned XML data returns list of `<File />` elements with a child `<ValidationErrorInfoList />` element, instead of list of `<ValidationErrorInfoList />` elements.

## Fixed
### Fixed

- If a file cannot be opened by the Validator, a `<ValidationErrorInfoInternal />` element is added with the error message.

Expand Down
1 change: 1 addition & 0 deletions OOXMLValidator.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
CHANGELOG.md = CHANGELOG.md
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
LICENSE = LICENSE
README.md = README.md
Expand Down
2 changes: 1 addition & 1 deletion OOXMLValidatorCLI/OOXMLValidatorCLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
<UseAppHost>true</UseAppHost>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/mikeebowen/OOXML-Validator</RepositoryUrl>
Expand Down

0 comments on commit 29af108

Please sign in to comment.