Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
#297: automate release (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
proshin-roman committed Mar 22, 2020
1 parent 1efb1e2 commit 7c69b56
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
runs-on: "3-jdk-8-openj9"

steps:
# ...
- name: "Build & test"
run: |
cd ..
mvn clean package
echo "done!"
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "snapshot"

on:
push:
branches:
- "master"

jobs:
pre-release:
name: "Snapshot"
runs-on: "3-jdk-8-openj9"

steps:
- name: "Build & test"
run: |
cd ..
mvn clean package
echo "done!"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE.txt
*.jar

0 comments on commit 7c69b56

Please sign in to comment.