-
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
Showing
40 changed files
with
1,157 additions
and
118 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,54 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## 🚀 Features", | ||
"labels": [ | ||
"feat" | ||
] | ||
}, | ||
{ | ||
"title": "## 🐛 Fixes", | ||
"labels": [ | ||
"fix" | ||
] | ||
}, | ||
{ | ||
"title": "🧰 Maintenance", | ||
"labels": [ | ||
"chore" | ||
] | ||
}, | ||
{ | ||
"title": "## 🧪 Tests", | ||
"labels": [ | ||
"test" | ||
] | ||
}, | ||
{ | ||
"title": "## 🖍️ Documentation", | ||
"labels": [ | ||
"doc" | ||
] | ||
}, | ||
{ | ||
"title": "## 📦 Dependencies", | ||
"labels": [ | ||
"dependencies" | ||
] | ||
} | ||
], | ||
"sort": "ASC", | ||
"template": "${{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n${{UNCATEGORIZED}}\n</details>", | ||
"pr_template": "${{TITLE}}", | ||
"empty_template": "- no changes", | ||
"label_extractor": [ | ||
{ | ||
"pattern": "(.+): (.+)", | ||
"target": "$1" | ||
} | ||
], | ||
"exclude_merge_branches": [ | ||
"merge pull request", | ||
"Merge pull request" | ||
] | ||
} |
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,51 @@ | ||
- name: bug | ||
description: Something isn't working | ||
color: d73a4a | ||
- name: doc | ||
description: Improvements to documentation | ||
color: d4c5f9 | ||
- name: duplicate | ||
description: This issue or pull request already exists | ||
color: cfd3d7 | ||
- name: feature | ||
color: 1d76db | ||
description: New features | ||
- name: enhancement | ||
description: Enhancement of existing functionality | ||
color: 84b6eb | ||
- name: deprecated | ||
description: Deprecating API | ||
color: f4c21d | ||
- name: removed | ||
description: Removing API | ||
color: e4b21d | ||
- name: tests | ||
description: Enhancement of tests | ||
color: 0e8a16 | ||
- name: java | ||
description: Java/JDK changes | ||
color: 03d0d6 | ||
- name: gradle | ||
description: Gradle changes | ||
color: d0d603 | ||
- name: maven | ||
description: Maven changes | ||
color: d60366 | ||
- name: compose | ||
description: Jetbrains Compose issues | ||
color: 3cdc84 | ||
- name: help | ||
description: Help Wanted | ||
color: 0e8a16 | ||
- name: question | ||
description: Questions and discussions | ||
color: cc317c | ||
- name: dependencies | ||
description: Changes that affect dependencies | ||
color: 5319e7 | ||
- name: docker | ||
description: Container changes | ||
color: e99695 | ||
- name: github-actions | ||
description: Github action changes | ||
color: ff7619 |
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,39 @@ | ||
name-template: 'v$RESOLVED_VERSION 🌈' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feat' | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
label: 'chore' | ||
- title: "📝 Documentation" | ||
labels: | ||
- 'doc' | ||
- 'documentation' | ||
- title: "🧪 Tests" | ||
labels: | ||
- 'test' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES |
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,139 @@ | ||
name: Logvue Build | ||
|
||
env: | ||
GITHUB_DEPLOY: 'false' | ||
|
||
on: | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
repository_dispatch: | ||
types: [ app-release ] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
name: Build Package | ||
timeout-minutes: 15 | ||
continue-on-error: false | ||
# if: github.event_name == 'pull_request' | ||
|
||
runs-on: ${{ matrix.os }} | ||
environment: Production | ||
env: | ||
SENTRY_ENDPOINT: ${{ secrets.SENTRY_ENDPOINT }} | ||
SENTRY_DEBUG: ${{ secrets.SENTRY_DEBUG }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ arm64, ubuntu-latest, macos-latest, windows-latest ] | ||
jdk: [ 18 ] | ||
|
||
steps: | ||
- name: Check out the source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Download ${{ matrix.os }} OpenJDK ${{ matrix.jdk }} | ||
id: download-jdk | ||
uses: sormuras/download-jdk@v1 | ||
with: | ||
feature: ${{ matrix.jdk }} | ||
|
||
- name: Set up OpenJDK ${{ matrix.jdk }} | ||
id: setup-java | ||
uses: actions/setup-java@v2 | ||
if: always() && steps.download-jdk.outcome == 'success' | ||
with: | ||
distribution: jdkfile | ||
java-version: ${{ env.JDK_VERSION }} | ||
jdkFile: ${{ env.JDK_FILE }} | ||
|
||
- name: Cache Gradle dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Deploy to GitHub Packages (Linux) | ||
id: gradle-deploy | ||
if: env.GITHUB_DEPLOY == 'true' && runner.os == 'Linux' | ||
run: | | ||
./gradlew deploy | ||
env: | ||
GITHUB_USER: ${{ github.repository_owner }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Gradle Build | ||
id: gradle-build | ||
run: ./gradlew packageUberJarForCurrentOS package -DSENTRY_ENDPOINT=env.SENTRY_ENDPOINT -DSENTRY_DEBUG=env.SENTRY_DEBUG | ||
|
||
- name: Uploading ${{ matrix.os }} uber jar | ||
if: steps.gradle-build.outcome == 'success' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.gradle-build.outputs.uber_jar_name }} | ||
path: | | ||
${{ steps.gradle-build.outputs.uber_jar_path }} | ||
if-no-files-found: error | ||
|
||
- name: Uploading ${{ matrix.os }} native package | ||
if: steps.gradle-build.outcome == 'success' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.gradle-build.outputs.app_pkg_name }} | ||
path: | | ||
${{ steps.gradle-build.outputs.app_pkg_path }} | ||
if-no-files-found: error | ||
|
||
|
||
release: | ||
name: Release new version. | ||
needs: [ build ] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out the source code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: ffurrer2/[email protected] | ||
id: extract_release_notes | ||
if: ${{ false }} | ||
|
||
- name: Build Changelog | ||
id: github_release | ||
uses: mikepenz/release-changelog-builder-action@v2 | ||
with: | ||
configuration: ".github/config/configuration.json" | ||
commitMode: true | ||
ignorePreReleases: ${{ !contains(github.ref, '-') }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Download all the build artifacts | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: release-artifacts | ||
|
||
- name: Github Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: ${{ steps.github_release.outputs.changelog }} | ||
prerelease: ${{ contains(github.event.inputs.version, '-rc') || contains(github.event.inputs.version, '-b') || contains(github.event.inputs.version, '-a') }} | ||
files: | | ||
${{ github.workspace }}/release-artifacts/** | ||
fail_on_unmatched_files: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,10 @@ | ||
name: "Validate Gradle Wrapper" | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
validation: | ||
name: "Validation" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gradle/wrapper-validation-action@v1 |
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,19 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [ opened, reopened, synchronize ] | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Drafts next Release notes | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: config/release-drafter.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,19 @@ | ||
name: Sync labels | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/config/labels.yml | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: micnncim/action-label-syncer@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
manifest: .github/config/labels.yml |
Oops, something went wrong.