Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Nov 5, 2023
1 parent 619da73 commit fac39fa
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Build DeathMessages
on:
push:
branches: [ master ]
branches:
- master
- nextgen
jobs:
build:
name: Build
Expand All @@ -18,10 +20,21 @@ jobs:
run: mvn clean kotlin:compile package

- name: Release DeathMessages
if: "!contains(github.event.commits[0].message, '[Release]')"
uses: marvinpinto/action-automatic-releases@master
with:
title: "DeathMessages v1.4.18"
automatic_release_tag: "1.4.18"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "target/*.jar"
prerelease: false

- name: Upload DeathMessages DevBuild
if: github.ref_name == 'nextgen'
uses: marvinpinto/action-automatic-releases@master
with:
title: "DeathMessages v1.4.18-SNAPSHOT"
automatic_release_tag: "dev"
repo_token: "${{ secrets.GITHUB_TOKEN }}"
files: "target/*.jar"
prerelease: true

0 comments on commit fac39fa

Please sign in to comment.