Skip to content

Commit

Permalink
Create publish_on_jitpack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fracassi-marco authored Jan 28, 2020
1 parent 96ed35f commit e8d0365
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish_on_jitpack.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 e8d0365

Please sign in to comment.