-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
chmaurer
committed
Sep 27, 2023
1 parent
7277888
commit 4ce58ba
Showing
3 changed files
with
40 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Description | ||
# ----------- | ||
# This workflow builds and releases the maven artifact | ||
# | ||
# Setup | ||
# ----- | ||
# 1. Create the following secrets inside GitHub: | ||
# - LMS_GIT_CONFIG (Base64 encoded .gitconfig file) | ||
|
||
name: Maven Release | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup git and other necessary files | ||
run: | | ||
echo -n '${{ secrets.LMS_GIT_CONFIG }}' | base64 -d > ~/.gitconfig | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Release prepare/perform | ||
run: mvn clean release:prepare release:perform -B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters