Skip to content

Commit

Permalink
feat: add another actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadioz committed Dec 29, 2023
1 parent 3ee2a98 commit 8ebe00c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release-config2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches:
- main

jobs:
semantic_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: '11'
- name: Semantic release
run: npx semantic-release
env:
CI_COMMIT_BRANCH: ${{ github.ref }}
CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
13 changes: 13 additions & 0 deletions releaserc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@semantic-release/exec"
- verifyReleaseCmd: 'mvn versions:set -DnewVersion="${nextRelease.version}" && echo "NEXT_VERSION=${nextRelease.version}" >> build.env'
- - "@semantic-release/git"
- assets:
- pom.xml
message: "chore(release): bump ${nextRelease.version}"

branches:
- "main"
- "+([0-9])?(.{+([0-9]),x}).x"

0 comments on commit 8ebe00c

Please sign in to comment.