Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Mar 8, 2024
1 parent b46c4e3 commit 3ef9a84
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
name: Publish package to the Maven Central Repository
on:
workflow_dispatch:
inputs:
tag:
type: string
description: tag
push:
tags:
- mjml4j-*
jobs:
bump_version:
name: "Bump Version"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Bump version
id: bump
run: "./mvnw versions:set -DnewVersion=${{ github.event.inputs.tag }} -DprocessAllModules && ./mvnw versions:commit -DprocessAllModules"
- name: Commit bumped version
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Prepare release version ${{ github.event.inputs.tag }}"
publish:
name: "Publish"
needs: [ bump_version ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 3ef9a84

Please sign in to comment.