Skip to content

time

time #167

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "sbt" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
self-hosted-container:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
steps:
- name: Checkout ${{ github.ref }} ( ${{ github.sha }} )
uses: actions/checkout@v3
- name: ls -la
run: ls -la
- name: Caching dependencies
uses: actions/cache@v3
with:
path: target
key: ${{ runner.os }}-${{ matrix.java }}-${{ hashFiles('src/**/*.scala', 'build.sbt') }}
restore-keys: ${{ runner.os }}-${{ matrix.java }}-
- name: ls -la
run: ls -la
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: compile
run: |
which java
ls -la
time sbt compile