Skip to content

Commit

Permalink
Add pipielines
Browse files Browse the repository at this point in the history
  • Loading branch information
fracassi-marco committed Jan 28, 2020
1 parent 3eaecf9 commit 96ed35f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: CI

on: [push]

name: Continuous Integration
on: push
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Test
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Test
run: ./gradlew clean test
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Publish on JitPack
run: curl "https://jitpack.io/api/builds/com.github.DaikonWeb/daikon/${{ github.ref }}"

0 comments on commit 96ed35f

Please sign in to comment.