Skip to content

Commit

Permalink
build: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Jun 27, 2022
1 parent 931c516 commit 11483f7
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 86 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/create-github-release-draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: (📡) Create GitHub Release Draft

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:

jobs:
create-github-release:
uses: sitepark-com/github-project-workflow/.github/workflows/create-github-release-draft.yml@main
19 changes: 19 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: (▶) Create Release

on: workflow_dispatch

jobs:
release:
uses: sitepark-com/github-project-workflow/.github/workflows/maven-release.yml@main
with:
botName: "sitepark-bot"
botEmail: "opensource@sitepark.com"
secrets:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_KEY: ${{ secrets.GPG_KEY }}
MVN_REPO_SERVER_USERNAME: ${{ secrets.MVN_REPO_SERVER_USERNAME }}
MVN_REPO_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SERVER_PASSWORD }}
MVN_REPO_SERVER_ID: ${{ secrets.MVN_REPO_SERVER_ID }}
MVN_REPO_SERVER_RELEASE_URL: ${{ secrets.MVN_REPO_SERVER_RELEASE_URL }}

17 changes: 17 additions & 0 deletions .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: (📡) Deploy Snapshot

on:
push:
branches:
- 'main'
workflow_dispatch:

jobs:
deploy:
uses: sitepark-com/github-project-workflow/.github/workflows/maven-deploy-snapshot.yml@main
secrets:
MVN_REPO_SERVER_USERNAME: ${{ secrets.MVN_REPO_SERVER_USERNAME }}
MVN_REPO_SERVER_PASSWORD: ${{ secrets.MVN_REPO_SERVER_PASSWORD }}
MVN_REPO_SERVER_ID: ${{ secrets.MVN_REPO_SERVER_ID }}
MVN_REPO_SERVER_SNAPSHOT_URL: ${{ secrets.MVN_REPO_SERVER_SNAPSHOT_URL }}

10 changes: 10 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: (📡) Publish Release

on:
release:
types: [published]

jobs:
publish-release:
uses: sitepark-com/github-project-workflow/.github/workflows/maven-publish-release.yml@main

10 changes: 10 additions & 0 deletions .github/workflows/start-hotfix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: (▶) Start Hotfix

on: workflow_dispatch

jobs:
start-hotfix:
uses: sitepark-com/github-project-workflow/.github/workflows/maven-start-hotfix.yml@main
with:
ref: ${{ github.ref }}

22 changes: 8 additions & 14 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
name: Verify
name: (📡) Verify

on: [push]
on:
push:
branches-ignore:
- 'main'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
verify:
uses: sitepark-com/github-project-workflow/.github/workflows/maven-verify.yml@main

0 comments on commit 11483f7

Please sign in to comment.