Skip to content

Commit

Permalink
Add names to GHA job steps
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderploegsma committed Jan 22, 2024
1 parent c1e0661 commit d938b84
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,29 @@ jobs:
name: Build Javadoc
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
with:
java-version: "21"
distribution: "temurin"
- run: ./gradlew --no-daemon javadoc
- uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8
- name: Build Javadoc
run: ./gradlew --no-daemon javadoc
- name: Upload artifact
uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8
with:
path: build/docs/javadoc

deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit d938b84

Please sign in to comment.