Skip to content

Commit

Permalink
Removed auto-tagging from master ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-christian-schulze committed Nov 28, 2024
1 parent 115fb1f commit e659189
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,3 @@ jobs:
uses: GabrielBB/xvfb-action@v1
with:
run: mvn clean install -Dmaven.repo.local=./.m2 -Declipse.p2.mirrors=false

- name: Get previous tag
id: previoustag
if: github.event_name == 'push'
uses: 'WyriHaximus/github-action-get-previous-tag@v1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get next minor version
id: semver
if: github.event_name == 'push'
uses: 'WyriHaximus/github-action-next-semvers@v1'
with:
version: ${{ steps.previoustag.outputs.tag }}

- name: Create tag
if: github.event_name == 'push'
uses: actions/github-script@v5
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ steps.semver.outputs.patch }}',
sha: context.sha
})
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Structs4Java
[![master](https://github.com/marc-christian-schulze/structs4java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/marc-christian-schulze/structs4java/actions/workflows/pull-request.closed.yml)
[![master](https://github.com/marc-christian-schulze/structs4java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/marc-christian-schulze/structs4java/actions/workflows/ci.yml)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.marc-christian-schulze.structs4java/structs4java-maven-plugin
)](https://central.sonatype.com/search?q=g:com.github.marc-christian-schulze.structs4java&smo=true)
[![license](https://img.shields.io/github/license/marc-christian-schulze/structs4java.svg?maxAge=3600)](https://github.com/marc-christian-schulze/structs4java/blob/master/LICENSE)
Expand Down

0 comments on commit e659189

Please sign in to comment.