update release to v7.4.0 #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scala CI | |
# Support "official releases" on master, and release fixes on release/ prefixed branches | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'releases/**' | |
- '!releases/**-alpha' | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
pull_request: | |
branches: | |
- 'master' | |
# trigger on new branch/tag creation | |
create: [] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: temurin | |
- name: Cache SBT ivy cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.ivy2/cache | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/*.sbt') }} | |
- name: Cache SBT | |
uses: actions/cache@v1 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }} | |
- name: Run tests | |
run: sbt ^test ^scripted | |
#- name: Publish | |
# if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') | |
# env: | |
# BINTRAY_USER: ${{ secrets.BINTRAY_USER }} | |
# BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }} | |
# run: sbt ^publish |