Skip in ReadCompositeGlyph when glyphIndex is out of range and fix #1213 #1170
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build, test and publish draft | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up dotnet core | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 2.1.x | |
| 6.0.x | |
| 8.0.x | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| # Build the release build | |
| - name: Build the solution | |
| run: dotnet build -c Release src/UglyToad.PdfPig.sln | |
| - name: Run the tests | |
| run: dotnet test -c Release src/UglyToad.PdfPig.sln | |
| - name: Update draft release | |
| if: github.ref == 'refs/heads/master' | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| draft: true | |
| name: "Draft release" | |
| tag_name: "unreleased" # fixed tag so this one draft is updated | |
| generate_release_notes: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |