Skip to content

chmod

chmod #2

Workflow file for this run

name: Build and Test
on: [pull_request, push]
jobs:
build_latest:
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v4
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Test
run: ./gradlew runMainTest
build_5:
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v4
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
- name: setup gradle
uses: gradle/actions/setup-gradle@v4
- name: run test
run: |
chmod +x ./gradlew
./gradlew runJava5Test
upload:
runs-on: ubuntu-latest
steps:
- name: upload build artifacts
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: artifacts
path: build/libs/*.jar