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 #8 from milosmns/master
Browse files Browse the repository at this point in the history
Release PR: 1.0.3
  • Loading branch information
milosmns authored Jul 12, 2020
2 parents 7ce3d43 + 4ede887 commit 51a41b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Release assembly and publish

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

Expand All @@ -12,21 +11,23 @@ jobs:
defaults:
run:
working-directory: kssm

steps:
- uses: actions/checkout@v2

with:
ref: release

- 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 }}
Expand All @@ -35,12 +36,11 @@ jobs:
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.1'
projectVersion = '1.0.3'
projectGroup = 'me.angrybyte'

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

0 comments on commit 51a41b5

Please sign in to comment.