Bump JamesIves/github-pages-deploy-action from 4.6.1 to 4.7.2 #150
Workflow file for this run
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: Test Actions for subdirectories | |
| on: [workflow_dispatch, pull_request, push] | |
| jobs: | |
| check-pom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: GuillaumeFalourd/[email protected] | |
| with: | |
| command_line: cat pom-module.xml | |
| contains: JAVAVERSION | |
| test-for-github-workflow: # Test the action with the GitHub workflow | |
| needs: check-pom | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| java: [17] | |
| java-distribution: [temurin] | |
| os: [ubuntu-latest] | |
| project: [maven] | |
| exclude: | |
| - java: 8 | |
| java-distribution: microsoft | |
| - java: 18 | |
| java-distribution: microsoft | |
| - java: 19 | |
| java-distribution: microsoft | |
| - java: 19 | |
| project: gradle | |
| os: windows-latest | |
| runs-on: ${{ matrix.os }} | |
| name: Test Java ${{ matrix.java }} ${{ matrix.java-distribution }} ${{ matrix.project }} - ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Replace string in file | |
| uses: MathieuSoysal/[email protected] | |
| with: | |
| file: pom-module.xml | |
| old-string: JAVAVERSION | |
| new-string: ${{ matrix.java }} | |
| - uses: ./ # Uses an action in the root directory | |
| if: ${{ matrix.project == 'maven' }} | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| javadoc-branch: javadoc-test | |
| java-version: ${{ matrix.java }} | |
| target-folder: javadoc | |
| project: ${{ matrix.project }} | |
| java-distribution: ${{ matrix.java-distribution }} | |
| without-deploy: true | |
| without-checkout: true | |
| custom-command: mvn -f pom-module.xml javadoc:javadoc | |
| subdirectories: moduleA moduleB | |
| - uses: GuillaumeFalourd/[email protected] | |
| if: ${{ matrix.project == 'maven' }} | |
| with: | |
| command_line: cat target/reports/apidocs/moduleA/apidocs/index.html | |
| contains: javadoc |