forked from regadas/github-actions-dhall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease-scala.dhall
27 lines (25 loc) · 880 Bytes
/
release-scala.dhall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
let GithubActions =
https://raw.githubusercontent.com/regadas/github-actions-dhall/master/package.dhall sha256:c0a9ee656aa2eb0b46828a22a48e7a8c63c9c9689153a09d34f8fac7cd8d2736
let setup =
[ GithubActions.steps.actions/checkout
, GithubActions.steps.olafurpg/java-setup { java-version = "11" }
, GithubActions.steps.olafurpg/gpg-setup
, GithubActions.steps.olafurpg/sbt-ci-release
]
in GithubActions.Workflow::{
, name = "Release"
, on = GithubActions.On::{
, push = Some GithubActions.Push::{
, branches = Some [ "master" ]
, tags = Some [ "*" ]
}
}
, jobs = toMap
{ build = GithubActions.Job::{
, name = Some "Publish"
, needs = None (List Text)
, runs-on = GithubActions.types.RunsOn.`ubuntu-18.04`
, steps = setup
}
}
}