Skip to content

Commit 7adfe2a

Browse files
committed
More GH actions setup
1 parent c17a658 commit 7adfe2a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.9"
1+
version: "3.7"
22

33
services:
44
test:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
env:
2121
SCALA_VERSION: ${{ matrix.scala }}
22+
BUILD_NUMBER: ${{ github.run_id }}
2223

2324
steps:
2425
- uses: actions/checkout@v2

scripts/cipublish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
1717
if [[ "${1:-}" == "--help" ]]; then
1818
usage
1919
else
20-
if [[ -n "${CIRCLE_TAG}" ]]; then
20+
if [[ -n "${BUILD_NUMBER}" ]]; then
2121
echo "Publishing artifacts to Sonatype"
22-
./sbt ";++${SCALA_VERSION:-2.11.12};sonatypeOpen ${CIRCLE_BUILD_NUM};publish;sonatypeRelease"
22+
./sbt ";++${SCALA_VERSION:-2.12.7};sonatypeOpen ${BUILD_NUMBER};publish;sonatypeRelease"
2323
else
2424
echo "Publishing artifacts to default location"
25-
./sbt "++${SCALA_VERSION:-2.11.12}" publish
25+
./sbt "++${SCALA_VERSION:-2.12.7}" publish
2626
fi
2727
fi
2828
fi

0 commit comments

Comments
 (0)