scala: command not found

Hi,

According to documentation, ubunto 18-04 should already have Scala installed on:

https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions#ubuntu-1804-lts

but when I run a simple test that check scala version on machine, I can see that it doesn’t.

This is my workflow:

name: Test

on: [pull_request]

jobs:
  aJob:
    runs-on: ubuntu-latest

    steps:
      - name: scalaVe
        run: scala -version

Run log:

2019-09-25T18:49:21.9369825Z Current runner version: '2.158.0'
2019-09-25T18:49:21.9390101Z Prepare workflow directory
2019-09-25T18:49:22.0718787Z Prepare all required actions
2019-09-25T18:49:22.2462685Z ##[group] **Run scala -version** 2019-09-25T18:49:22.2542982Z [36;1mscala -version[0m
2019-09-25T18:49:23.1421170Z shell: /bin/bash -e {0}
2019-09-25T18:49:23.1421387Z ##[endgroup]
2019-09-25T18:49:23.2092022Z /home/runner/work/_temp/a78502d5-39f5-4aa1-8d4b-61f43ce4ce57.sh: line 1: **scala: command not found** 2019-09-25T18:49:23.2170876Z ##[error]Process completed with exit code 127.
2019-09-25T18:49:23.2350931Z Cleaning up orphan processes

There was a PR merged in yesterday updating sbt to improve the scala support https://github.com/microsoft/azure-pipelines-image-generation/pull/1255. I am not sure when that is going to rollout to the GitHub Runners but you can ask over at https://github.com/actions/virtual-environments