Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from milosmns/master
Browse files Browse the repository at this point in the history
Release 1.0.1
  • Loading branch information
milosmns authored Jul 12, 2020
2 parents 3b12321 + ba75c6e commit 7ce3d43
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release assembly and publish

on:
push:
branches: [ release ]
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
defaults:
run:
working-directory: kssm

steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Build and check with Gradle
run: ./gradlew build

- name: Publish to Maven
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
BINTRAY_OSS_USER: ${{ secrets.BINTRAY_OSS_USER }}
BINTRAY_GPG_PASSWORD: ${{ secrets.BINTRAY_GPG_PASSWORD }}
BINTRAY_OSS_PASSWORD: ${{ secrets.BINTRAY_OSS_PASSWORD }}
run: ./gradlew bintrayUpload

- name: Publish to GitHub Releases
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: xz
GHR_PATH: kssm/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion kssm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ext {
kotlinSourceDir = 'src/main/kotlin'
resourcesDir = 'src/main/resources'

projectVersion = '1.0.0'
projectVersion = '1.0.1'
projectGroup = 'me.angrybyte'

VERSION_NAME = projectVersion // Needed for 'bintrayUpload' task
Expand Down

0 comments on commit 7ce3d43

Please sign in to comment.