Skip to content

Replaced extends App with main() for scala 3 #46

Replaced extends App with main() for scala 3

Replaced extends App with main() for scala 3 #46

Workflow file for this run

name: release
on:
push:
tags:
- "v*"
branches: [ master ]
jobs:
g8:
runs-on: ubuntu-latest
steps:
- uses: coursier/setup-action@v1.2.0
with:
jvm: temurin:1.21
apps: sbt sbtn giter8
- uses: coursier/cache-action@v6
- name: Cache ~/.cache
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-coursier-${{ hashFiles('project/Libs.scala') }}
restore-keys: |
${{ runner.os }}-coursier-
- name: Cache ~/.sbt
uses: actions/cache@v4
with:
path: ~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('project/build.properties') }}
restore-keys: |
${{ runner.os }}-sbt-
- name: Giter8 Compile csw.g8 with csw_version in default.properties
run: |
g8 tmtsoftware/csw.g8 --name=galil
cd galil
sbt clean test
- name: Notify slack
if: always()
continue-on-error: true
uses: kpritam/slack-job-status-action@v1
with:
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel: ci-release