Skip to content

Update OJ | more implementation #11

Update OJ | more implementation

Update OJ | more implementation #11

Workflow file for this run

name: "CI Build"
on: [ push, pull_request ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: temurin
java-version-file: .oj/jdk-version.txt
- uses: gradle/[email protected]
- run: "./oj check"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
test-functional:
needs: check
strategy:
matrix:
module: [app, lib]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: temurin
java-version-file: .oj/jdk-version.txt
- uses: gradle/[email protected]
- run: "./oj :${{ matrix.module }}:checkFunctional"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
package:
needs: check
strategy:
matrix:
os: [ubuntu, windows, macos]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: temurin
java-version-file: .oj/jdk-version.txt
- uses: gradle/[email protected]
- run: "./oj assemble${{ matrix.os }"

Check failure on line 51 in .github/workflows/ci-build.yml

View workflow run for this annotation

GitHub Actions / CI Build

Invalid workflow file

The workflow is not valid. .github/workflows/ci-build.yml (Line: 51, Col: 14): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
build:
needs: [test-functional, package]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: temurin
java-version-file: .oj/jdk-version.txt
- uses: gradle/[email protected]
- run: "./oj build"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- uses: actions/[email protected]
with:
name: Application Packages
path: .oj/build/*/packages/*