Update JamesIves/github-pages-deploy-action action to v4.6.1 #45
Workflow file for this run
This file contains 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: make | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: [ 'README.md', 'LICENSE.txt' ] | |
pull_request: | |
branches: | |
- master | |
paths-ignore: [ 'README.md', 'LICENSE.txt' ] | |
jobs: | |
make: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'oracle' | |
java-version: 21 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-jdk-${{ matrix.java }}-maven- | |
- run: make | |
- run: make README.md | |
- uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: make | |
commit-message: 'new benchmark results' | |
delete-branch: true | |
title: 'New results of benchmarking' | |
assignees: yegor256 | |
base: master | |
if: github.ref == 'refs/heads/master' | |
- run: mv html gh-pages | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: gh-pages | |
clean: false | |
if: github.ref == 'refs/heads/master' |