From 57d6e0e2220f6da8059536f0abe9c3f68b235029 Mon Sep 17 00:00:00 2001 From: Sriraam AS Date: Mon, 7 Jun 2021 19:35:10 -0400 Subject: [PATCH 1/3] use java8 to build --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60ecb5a..6856592 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' - uses: actions/cache@v2 with: path: | From 228f1a2fedaa9e89d4e0764bac7fda0d964b4842 Mon Sep 17 00:00:00 2001 From: Sriraam AS Date: Mon, 7 Jun 2021 19:35:27 -0400 Subject: [PATCH 2/3] package documentation and sources during build --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6856592..93ecf92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: ~/.sbt key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }} - name: Build - run: sbt package + run: sbt "package;packageDoc;packageSrc" - uses: actions/upload-artifact@v2 with: name: jars From 83b48376ada5bb4e6b8d3852a5098cec9d130ed9 Mon Sep 17 00:00:00 2001 From: Sriraam AS Date: Mon, 7 Jun 2021 19:35:56 -0400 Subject: [PATCH 3/3] fix path of jars during github release --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93ecf92..bc2786c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,13 +63,11 @@ jobs: uses: actions/download-artifact@v2 with: name: jars - - name: Display structure of downloaded files - run: ls -R - name: Upload assets env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -x tag="${GITHUB_REF#refs/tags/}" - args=$(printf -- "-a %q " play/target/*/*/*.jar) + args=$(printf -- "-a %q " play*/scala*/*.jar) hub release create $args -m "Release $tag" $tag