File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- push :
5- tags : " [1-9]+.[0-9]+.[0-9]+"
6- branches : master
4+ release :
5+ types : [published]
6+ # push:
7+ # tags: "[1-9]+.[0-9]+.[0-9]+"
78
89env :
910 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1011
1112jobs :
12- build :
13- uses : target/data-validator/.github/workflows/ci.yaml@main
1413 deploy :
1514 name : Release
1615 runs-on : ubuntu-latest
1716 steps :
17+ - name : Checkout current branch (full)
18+ uses : actions/checkout@v2
19+
20+ - name : Setup Java and Scala
21+ uses : olafurpg/setup-scala@v10
22+ with :
23+ java-version : adopt@1.8
24+
25+ - name : Cache sbt
26+ uses : actions/cache@v2
27+ with :
28+ path : |
29+ ~/.sbt
30+ ~/.ivy2/cache
31+ ~/.coursier/cache/v1
32+ ~/.cache/coursier/v1
33+ ~/AppData/Local/Coursier/Cache/v1
34+ ~/Library/Caches/Coursier/v1
35+ key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
36+
1837 # uses sbt-github-packages, see build.sbt
19- - run : bin/sbt publish
38+ - name : Publish with SBT
39+ run : bin/sbt publish
You can’t perform that action at this time.
0 commit comments