Skip to content

Commit

Permalink
Merge pull request #22 from sriraamas/misc-fixes
Browse files Browse the repository at this point in the history
Misc fixes
  • Loading branch information
sriraamas authored Jun 8, 2021
2 parents d746dcf + 83b4837 commit 60db707
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ 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: |
~/.ivy2
~/.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
Expand Down Expand Up @@ -59,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

0 comments on commit 60db707

Please sign in to comment.