Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomohiro-okuyama committed Jul 3, 2024
1 parent ab9ce41 commit e504f81
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 36 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Cache gradle files
uses: actions/cache@v1
env:
cache-name: cache-gradle-files
with:
path: ~/.gradle/caches
key: gradle-${{ env.cache-name }}-${{ hashFiles('build.gradle') }}
distribution: 'corretto'
java-version: '8'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check spotless
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '8'
cache: 'gradle'
- name: Generate Javadoc
run: ./gradlew javadocUpdate
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3

deploy:
permissions:
Expand All @@ -45,4 +45,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
15 changes: 5 additions & 10 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Cache gradle files
uses: actions/cache@v1
env:
cache-name: cache-gradle-files
with:
path: ~/.gradle/caches
key: gradle-${{ env.cache-name }}-${{ hashFiles('build.gradle') }}
distribution: 'corretto'
java-version: '8'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Install License Finder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pull-requests: write
contents: write
steps:
- uses: actions/stale@v6
- uses: actions/stale@v9
with:
days-before-stale: 30
days-before-close: 14
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/yamory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
- name: Cache gradle files
uses: actions/cache@v1
env:
cache-name: cache-gradle-files
with:
path: ~/.gradle/caches
key: gradle-${{ env.cache-name }}-${{ hashFiles('build.gradle') }}
distribution: 'corretto'
java-version: '8'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: run Yamory
Expand Down

0 comments on commit e504f81

Please sign in to comment.