Skip to content

Version 1.1

Version 1.1 #16

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
- name: Create GitHub release and upload artifacts
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: digital-signatures-cli/build/libs/digital-signatures-*-all.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish artifacts to Maven repository
if: startsWith(github.ref, 'refs/tags/')
env:
USERNAME: ${{ secrets.GITHUB_ACTOR }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew publish --stacktrace