Prevent negative remaining size in EscherBSERecord (#1276) #1048
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
| # This workflow will build a Java project with Ant | |
| # For more information see: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-ant | |
| name: Java CI with Ant | |
| on: | |
| push: | |
| branches: [ trunk ] | |
| pull_request: | |
| branches: [ trunk ] | |
| env: | |
| ANT_VERSION: 1.10.18 | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| java: [ 17, 21 ] | |
| name: Java ${{ matrix.java }} build | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup java ${{ matrix.java }} | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: Set up Ant | |
| id: setup-ant | |
| run: | | |
| wget https://archive.apache.org/dist/ant/binaries/apache-ant-${{ env.ANT_VERSION }}-bin.tar.gz | |
| tar --exclude=apache-ant-${{ env.ANT_VERSION }}/manual -xzvf apache-ant-${{ env.ANT_VERSION }}-bin.tar.gz | |
| ANT_HOME=`pwd`/apache-ant-${{ env.ANT_VERSION }} apache-ant-${{ env.ANT_VERSION }}/bin/ant -version | |
| - name: Cache downloaded third-party libraries | |
| uses: actions/cache@v6 | |
| with: | |
| # A list of files, directories, and wildcard patterns to cache and restore | |
| path: lib | |
| # An explicit key for restoring and saving the cache | |
| key: poi-third-party-libs | |
| - name: Build with Ant | |
| run: ANT_HOME=`pwd`/apache-ant-${{ env.ANT_VERSION }} apache-ant-${{ env.ANT_VERSION }}/bin/ant clean jenkins |