Kotlin 1.9.20 & refreshVersions plugin #1513
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: build | |
on: | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 12 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 12 | |
- name: Set up Nodejs 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Archive test-results | |
if: always() | |
uses: actions/upload-artifact@v1.0.0 | |
with: | |
name: Test-Results | |
path: core/build/reports/tests/allTests | |
- name: Archive server log | |
if: always() | |
uses: actions/upload-artifact@v1.0.0 | |
with: | |
name: Server-Logs | |
path: test-server/build/server.log | |
- name: Build with 11ty | |
working-directory: ./www | |
run: npm install && npm run build | |
update_api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 12 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 12 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Dump API | |
run: ./gradlew apiDump | |
- name: Commit new API files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update API files | |
file_pattern: "**/api/*.api" |