Skip to content

Commit

Permalink
Merge pull request #202 from gisaia/feat/add-CI-jar-publish
Browse files Browse the repository at this point in the history
Add jar publish to Cloudsmith on release
  • Loading branch information
sfalquier authored Jul 29, 2021
2 parents 6761baf + dcc53d8 commit 3f8dc10
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 25 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release ARLAS-proc

on:
push:
branches:
- develop
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache SBT # From https://github.com/actions/cache/blob/main/examples.md
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Publish artifact
env:
CLOUDSMITH_USER: ${{ secrets.CLOUDSMITH_USER }}
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
run: sbt clean publish
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 3f8dc10

Please sign in to comment.