-
Notifications
You must be signed in to change notification settings - Fork 15
30 lines (28 loc) · 1.04 KB
/
ci.yml
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
28
29
30
name: CI
on:
pull_request:
branches: ['**']
push:
branches: ['**']
tags: [v*]
jobs:
build:
uses: softwaremill/github-actions-workflows/.github/workflows/build-scala.yml@main
# run on external PRs, but not on internal PRs since those will be run by push to branch
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
with:
java-opts: '-Xmx6G -Xss4M'
sttp-native: 1
install-libidn2: true
mima:
uses: softwaremill/github-actions-workflows/.github/workflows/mima.yml@main
# run on external PRs, but not on internal PRs since those will be run by push to branch
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
publish:
uses: softwaremill/github-actions-workflows/.github/workflows/publish-release.yml@main
needs: [build]
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
secrets: inherit
with:
java-opts: "-Xmx4G -Xss4M"
sttp-native: 1