Skip to content

Update gradle/wrapper-validation-action action to v3 #40

Update gradle/wrapper-validation-action action to v3

Update gradle/wrapper-validation-action action to v3 #40

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- master
jobs:
gradle:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- uses: gradle/wrapper-validation-action@v3
- uses: gradle/gradle-build-action@v2
- run: ./gradlew tasks
- run: mkdir -m 700 -p ~/.ssh
- run: ssh-keygen -t ecdsa -N '' -C '' -f ~/.ssh/id_ecdsa
- run: tee -a ~/.ssh/authorized_keys < ~/.ssh/id_ecdsa.pub
# JSch does not support the host key algorithm ssh-ed25519.
# com.jcraft.jsch.JSchException: There are not any available sig algorithm.
- run: ssh -v -o StrictHostKeyChecking=accept-new -o HostKeyAlgorithms=ecdsa-sha2-nistp256 localhost true
- run: ./gradlew showPlatformVersion