Skip to content

Commit

Permalink
Remove Release Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkiel committed Jun 11, 2024
1 parent 0d7b672 commit 4e1374e
Showing 1 changed file with 6 additions and 43 deletions.
49 changes: 6 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- main
- v2
- develop
tags:
- 'v*.*.*'
pull_request:
branches:
- main
- v2
- develop

jobs:
build:
Expand Down Expand Up @@ -42,45 +44,6 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

release:
needs: build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Release
uses: qcastel/[email protected]
with:
release-branch-name: "main"
access-token: ${{ secrets.GITHUB_TOKEN }}
maven-args: "-DskipTests -DskipITs"
maven-repo-server-id: github
maven-repo-server-username: ${{ github.actor }}
maven-repo-server-password: ${{ secrets.GITHUB_TOKEN }}
env:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk/

release-v2:
needs: build
if: github.ref == 'refs/heads/v2'
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Release
uses: qcastel/[email protected]
with:
release-branch-name: "v2"
version-patch: false
access-token: ${{ secrets.GITHUB_TOKEN }}
maven-args: "-DskipTests -DskipITs"
maven-repo-server-id: github
maven-repo-server-username: ${{ github.actor }}
maven-repo-server-password: ${{ secrets.GITHUB_TOKEN }}
env:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk/
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit 4e1374e

Please sign in to comment.