Skip to content

Commit

Permalink
More GH actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jpolchlo committed Dec 20, 2021
1 parent c17a658 commit 7adfe2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
version: "3.7"

services:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

env:
SCALA_VERSION: ${{ matrix.scala }}
BUILD_NUMBER: ${{ github.run_id }}

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions scripts/cipublish
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "${1:-}" == "--help" ]]; then
usage
else
if [[ -n "${CIRCLE_TAG}" ]]; then
if [[ -n "${BUILD_NUMBER}" ]]; then
echo "Publishing artifacts to Sonatype"
./sbt ";++${SCALA_VERSION:-2.11.12};sonatypeOpen ${CIRCLE_BUILD_NUM};publish;sonatypeRelease"
./sbt ";++${SCALA_VERSION:-2.12.7};sonatypeOpen ${BUILD_NUMBER};publish;sonatypeRelease"
else
echo "Publishing artifacts to default location"
./sbt "++${SCALA_VERSION:-2.11.12}" publish
./sbt "++${SCALA_VERSION:-2.12.7}" publish
fi
fi
fi

0 comments on commit 7adfe2a

Please sign in to comment.