Skip to content

merge initial version #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 141 commits into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
236260e
chore: execute gradle init
simschla Feb 14, 2025
98fc350
feat: introduce spotless formatting for java
simschla Feb 14, 2025
7d686b4
style: apply spotless to java code
simschla Feb 14, 2025
e76e9de
chore(build): add spotless for build files
simschla Feb 14, 2025
e2b0c93
style: apply spotless to build files
simschla Feb 14, 2025
dc0281e
chore: configure license to java files
simschla Feb 15, 2025
b883ac4
style: apply copyright
simschla Feb 15, 2025
4fdfe2e
chore: add LICENSE to repo
simschla Feb 15, 2025
d682d2c
chore: add markdown formatting and README.md
simschla Feb 16, 2025
10875ea
chore: add spotless-changelog + introduce changelog
simschla Feb 16, 2025
efbf715
chore: stricter changelog, formattings end with newline
simschla Feb 16, 2025
2c4ff07
chore: make sure to format convention gradle files
simschla Feb 16, 2025
9613da5
feat: add poc implementation
simschla Feb 17, 2025
d5bb6b3
chore(deps): allow to read spotless-libs from maven local
simschla Feb 17, 2025
93d57d3
chore: allow handling of special tests
simschla Feb 17, 2025
d43ac8f
chore: porting over graal and picocli configuration
simschla Feb 17, 2025
d108e36
chore: transport formatting files over from spotless
simschla Feb 17, 2025
db717a9
chore(ide): update module config files
simschla Feb 18, 2025
ac7ea28
style: sort and cleanup
simschla Feb 18, 2025
9afd915
chore: add testing api to all java classes
simschla Feb 18, 2025
cf0ff68
fix: make sure to use up-to-date version
simschla Feb 19, 2025
d11d647
cleanup: remove unused
simschla Feb 19, 2025
c6bbded
feat: improve version output
simschla Feb 19, 2025
a35bae3
chore: let help grow in width
simschla Feb 19, 2025
323c032
chore: update usage output to show ascii art
simschla Feb 20, 2025
e2fa37f
chore: update to actual implementation in spotless-lib
simschla Feb 20, 2025
77e3220
chore: make threadpool configurable, use one formatter per thread
simschla Feb 21, 2025
e3c585b
fix: allow native compilation to invoke npm-based local server process
simschla Feb 21, 2025
726f84e
chore: reduce number of formatter creations
simschla Feb 21, 2025
876d879
chore: resolve files lazyily instead of eagerly
simschla Feb 22, 2025
5090cbe
chore: reduce complexity by not going parallel here
simschla Feb 22, 2025
6736ab7
chore: remove deprecation warning on nativeCompile
simschla Feb 22, 2025
a9f9b8f
refactor: extract inner classes, cleanup comments
simschla Feb 22, 2025
1284d4c
feat: add option to control parallelity
simschla Feb 22, 2025
0380861
docs: extend docs, start on steps
simschla Feb 26, 2025
326a509
docs: start adding docs for formatters
simschla Feb 26, 2025
2bb5f70
chore: provide gradle task to read usage helps dynamically
simschla Feb 27, 2025
88af4c5
chore(deps): use release-version of spotless-lib
simschla Feb 27, 2025
56fb895
docs: allow and use dynamic usage output in readme
simschla Feb 27, 2025
c9a79f7
feat: introduce logging + binding
simschla Mar 2, 2025
6f77ead
chore(ide): do not treat commandline options as unused
simschla Mar 2, 2025
84f32b7
style: apply spotless
simschla Mar 3, 2025
40c3ed3
feat: add colored logging using logfmt convention
simschla Mar 3, 2025
875cbcf
chore: add note about WIP to readme for now
simschla Mar 4, 2025
3b36730
chore: start implementation on github actions
simschla Mar 4, 2025
549e33b
fix: work around freshmark issues
simschla Mar 5, 2025
3a7e5a8
chore(ci): drop generateUsage (should be automatically run)
simschla Mar 5, 2025
e38f031
chore(ci): use fix lts version
simschla Mar 5, 2025
8a9de72
temp: debug ci job
simschla Mar 5, 2025
26c60d4
chore(ci): only run nativeCompile once
simschla Mar 5, 2025
9c84292
chore(ci): enable build cache for temporary initial branch
simschla Mar 5, 2025
b14b2bb
chore(ci): optimize job naming for native compilation
simschla Mar 5, 2025
9c4cb7a
chore(build): make sure to invalidate tests if new binary created
simschla Mar 5, 2025
11f371e
chore(ci): add gradle wrapper validation
simschla Mar 5, 2025
fcf33ce
chore: start working on release job
simschla Mar 6, 2025
4936b1b
chore(ci): releasing setup
simschla Mar 9, 2025
1e3b38a
chore: fix typo
simschla Mar 9, 2025
a0abcb9
chore: try working around flakiness
simschla Mar 9, 2025
0ed9150
chore: unify naming with deploy.yml
simschla Mar 9, 2025
b2d55dc
feat: allow configuration of logging on cli
simschla Mar 9, 2025
d0fd9e7
fix: include checksum calculation for setter-cli-options
simschla Mar 10, 2025
9ab1a43
chore: cleanup demo code
simschla Mar 14, 2025
7f3bd89
chore: use official maven platform-arch names
simschla Mar 14, 2025
285eef8
feat(ci): add distribution draft to homebrew/chocolatey tap
simschla Mar 17, 2025
6ca0254
chore(ci): draft jrelease publication
simschla Mar 17, 2025
258c054
chore: use versioned publication (jreleaser)
simschla Mar 18, 2025
dc74ec9
chore: allow nuking gradle build cache
simschla Mar 18, 2025
80d324f
chore: allow to force cache recalculation for freshmark
simschla Mar 18, 2025
f059e34
chore: store generated binaries (for debugging)
simschla Mar 18, 2025
36479c2
chore: optimize spotlessFreshmark integration
simschla Mar 18, 2025
2532673
fix: account for `spotless.exe` on windows
simschla Mar 19, 2025
54abda8
chore: cleanup test output
simschla Mar 20, 2025
f60a2a4
chore: cleanup
simschla Mar 23, 2025
4ab68b6
docs: add more documentation to prettier
simschla Mar 23, 2025
8fc8b93
docs: extend prettier config docs
simschla Mar 23, 2025
fc06db9
refactor: extract base npm options to a mixin
simschla Mar 24, 2025
8eb62e7
refactor: extract logging config into mixin
simschla Mar 24, 2025
2fa36a7
Revert "refactor: extract logging config into mixin"
simschla Mar 24, 2025
d83fded
docs: improve documentation for brew releasing
simschla Mar 25, 2025
c7cfaf8
chore: adapt to agreed secret naming
simschla Mar 25, 2025
d2f57b2
cleanup: improve logging
simschla Mar 25, 2025
aaa6ffc
docs: improve docs
simschla Mar 26, 2025
63249e9
docs: improve documentation for main command
simschla Mar 26, 2025
5b530ed
docs: more details on exit codes
simschla Mar 26, 2025
36f1820
chore: move windows publication to windows node
simschla Mar 27, 2025
b584dcb
chore: test logging/output and adapt where not as expected
simschla Mar 29, 2025
fccdf48
chore: add test for mode-switch
simschla Mar 29, 2025
1f80a21
chore: switch to write Output directly to System.err
simschla Mar 30, 2025
3a3aaae
chore: recreate the dependency again
simschla Mar 30, 2025
b5325e4
chore: add dockerimage that was very helpful in debugging
simschla Mar 30, 2025
93d70a3
docs: add npm system requirement
simschla Mar 30, 2025
dfa0ea1
chore(ide): use graalvm by default
simschla Mar 30, 2025
333af93
chore: introduce selfie for unit testing
simschla Mar 30, 2025
87c6fc5
chore: rewrite tests to use selfie where possible
simschla Mar 30, 2025
6c9be03
chore: remove unused files
simschla Mar 30, 2025
14cbfd4
chore: add more test variants for prettier
simschla Mar 31, 2025
49d9b2e
refactor: allow tests to have multiple tags
simschla Mar 31, 2025
ee286b7
refactor: move test runners and baseclasses to testlib
simschla Mar 31, 2025
98c6a5a
chore(ci): collect more test results
simschla Mar 31, 2025
ed97498
chore: remove unused junit report collection
simschla Mar 31, 2025
3021140
chore: add more tests for gjf options
simschla Apr 1, 2025
c4c5822
feat: allow further actions with file
simschla Apr 2, 2025
9ea39ff
chore: add more integration-tests for prettier options
simschla Apr 3, 2025
5747696
chore: rework output logging to make use of picocli abstraction
simschla Apr 3, 2025
d754183
chore: init logging by leveraging picocli lifecycle
simschla Apr 4, 2025
16f91cc
feat: allow checksum-calculation for string
simschla Apr 4, 2025
e891e27
fix: make sure to use separate cache-dirs for separate basedirs
simschla Apr 4, 2025
d64bce8
chore: also enable logging test for in-thread setup
simschla Apr 4, 2025
4bb0f11
chore: log actual invocation
simschla Apr 4, 2025
720e294
chore: cleanup
simschla Apr 4, 2025
797ecb2
chore: improve wiring of special test tasks
simschla Apr 4, 2025
e51e5de
chore: cleanup temp-dirs
simschla Apr 4, 2025
8223905
chore: add test to verify execution layout
simschla Apr 4, 2025
d9a76a1
chore: test cleanup behaviour
simschla Apr 4, 2025
9e8c7f9
chore: make test transportable
simschla Apr 4, 2025
35cd244
fix: disable unix-only tests
simschla Apr 4, 2025
47004d9
chore: prevent jvm sharing-warning
simschla Apr 4, 2025
9cadf31
chore(deps): bump action-junit-report to v5
simschla Apr 4, 2025
ac257dc
chore: verify distribution by dry-running during ci workflow
simschla Apr 6, 2025
c7b20ef
fix: correct syntax error
simschla Apr 6, 2025
1f253fe
chore: add palantir java formatter
simschla Apr 6, 2025
403d1e4
docs: document palantir-java-format
simschla Apr 6, 2025
f7d0fea
chore: exclude test classes and libs from resulting native binary
simschla Apr 9, 2025
4ff0e0e
chore: add clang-format to supported formatters
simschla Apr 12, 2025
6717584
chore: introduce foreignexe mocking
simschla Apr 13, 2025
44a0d19
chore: cleanup
simschla Apr 13, 2025
f6d365c
chore: rework to use foreign exe mock
simschla Apr 16, 2025
c791663
chore: add windows variant for foreign exe mock
simschla Apr 16, 2025
a889835
fix: use local clang-format instead of globally installed one
simschla Apr 16, 2025
a30da84
fix: make windows variant converge (new line ending issues)
simschla Apr 17, 2025
0c5bcc9
fix: normalize line endings to support windows env
simschla Apr 17, 2025
b77c7f5
chore: simplify ForeignExeMock
simschla Apr 19, 2025
239d526
chore(ide): update with latest IJ
simschla Apr 19, 2025
0810e76
chore: unify exec option naming with prettier
simschla Apr 19, 2025
e34d7db
feat: add format-annotations step
simschla Apr 20, 2025
a65e6f0
docs: document what filetypes are supported per step
simschla Apr 21, 2025
f7e7c7e
docs: document supported file types and additional info links
simschla Apr 24, 2025
aecf3ca
chore: add additional templating to jreleaser
simschla Apr 24, 2025
99c6f63
docs: document links and file types for format-annotations
simschla Apr 24, 2025
e55d601
chore(ide): adapt config
simschla Apr 24, 2025
0c1f2e4
chore: update changelog
simschla Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# Binary files should be left untouched
*.jar binary

8 changes: 8 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
],
"packageRules": [
]
}
180 changes: 180 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
---
name: "ci_checks"
on:
pull_request: null
push:
branches:
- "main"
- "initial-version"
workflow_dispatch:
inputs:
force_gradle_cache_clean:
description: "Force gradle cache clean"
required: false
default: "false"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
gradleCheck:
name: "run checks using gradlew"
runs-on: "ubuntu-latest"
outputs:
RELEASE_VERSION: ${{ steps.get_version.outputs.VERSION }}
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "15"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Install Node.js"
uses: actions/setup-node@v4
with:
node-version: "lts/jod" # 22
- name: "debug node"
run: "node --version && npm --version"
- name: "Setup Gradle"
uses: "gradle/actions/setup-gradle@v4"
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/initial-version' }} # TODO remove when initial-version is removed
- name: "Nuke gradle cache"
if: "${{ github.event.inputs.force_gradle_cache_clean == 'true' }}"
run: "rm -rf ~/.gradle/caches"
- name: "Run check on build-logic subproject"
run: "./gradlew :build-logic:check --no-configuration-cache"
- name: "Run check on project"
run: "./gradlew generateUsage && ./gradlew check"
- name: "Get version and set to output"
id: get_version
run: echo "VERSION=$(./gradlew changelogPrintCurrentVersion --quiet)" >> "$GITHUB_OUTPUT"
- name: "junit result"
uses: "mikepenz/action-junit-report@v5"
if: "always()"
with:
check_name: "JUnit Report"
report_paths: "**/build/test-results/tes*/*.xml" # multiple test tasks
nativeCompile:
name: "${{ matrix.platform.name }} nativeCompile testing"
needs: "gradleCheck"
strategy:
matrix:
platform:
- name: "linux-x86_64"
runner: "ubuntu-latest"
- name: "linux-aarch_64"
runner: "ubuntu-24.04-arm"
- name: "windows-x86_64"
runner: "windows-latest"
- name: "osx-aarch_64"
runner: "macos-latest"
- name: "osx-x86_64"
runner: "macos-13"
fail-fast: false
runs-on: "${{ matrix.platform.runner }}"
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "15"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Install Node.js"
uses: actions/setup-node@v4
with:
node-version: "lts/jod" # 22
- name: "Setup Gradle"
uses: "gradle/actions/setup-gradle@v4"
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/initial-version' }} # TODO remove when initial-version is removed
- name: "Check if binary works"
run: "./gradlew testAllCliNative"
- name: "junit result"
uses: "mikepenz/action-junit-report@v5"
if: "always()"
with:
check_name: "JUnit Report ${{ matrix.platform.name }}"
report_paths: "**/build/test-results/tes*/*.xml" # multiple test tasks
- name: "upload binary" # for debugging
uses: actions/upload-artifact@v4
with:
name: "spotless-native-binary--${{ matrix.platform.name }}"
path: app/build/native/nativeCompile/spotless*
retention-days: 7
if-no-files-found: "error"

dryRunRelease:
name: "dry run release"
needs: ["gradleCheck", "nativeCompile"]
strategy:
matrix:
platform:
- name: "linux-x86_64"
runner: "ubuntu-latest"
- name: "windows-x86_64"
runner: "windows-latest"
runs-on: "${{ matrix.platform.runner }}"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Setup Gradle"
uses: "gradle/actions/setup-gradle@v4"
- name: "Retrieve binaries"
uses: "actions/download-artifact@v4"
with:
# no name - download all artifacts
path: "app/build/collected-binaries"
- name: "Prepare release zips for distribution"
run: "./gradlew -PreleaseBinariesRootDir=app/build/collected-binaries prepareReleaseBinaryZips"
- name: "Prepare jreleaser for distribution"
run: "./gradlew prepareJReleaserConfig"
- name: "Dry-run choco distribution"
if: "${{ matrix.platform.name == 'windows-x86_64' }}"
uses: jreleaser/release-action@v2
with:
setup-java: false
arguments: "publish --dry-run"
env:
JRELEASER_PROJECT_VERSION: ${{ needs.gradleCheck.outputs.RELEASE_VERSION }}
JRELEASER_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_ACTIVE: ALWAYS
JRELEASER_CHOCOLATEY_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
JRELEASER_CHOCOLATEY_USER: abc # don't provide correct token, just a dry-run
JRELEASER_CHOCOLATEY_API_KEY: abc # don't provide correct token, just a dry-run
- name: "Dry-run brew distribution"
if: "${{ matrix.platform.name == 'linux-x86_64' }}"
uses: jreleaser/release-action@v2
with:
setup-java: false
arguments: "publish --dry-run"
env:
JRELEASER_PROJECT_VERSION: ${{ needs.gradleCheck.outputs.RELEASE_VERSION }}
JRELEASER_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_BREW_ACTIVE: ALWAYS
JRELEASER_HOMEBREW_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
- name: "Persist jreleaser output"
if: always()
uses: actions/upload-artifact@v4
with:
name: "jreleaser-distribution-dry-run--${{ matrix.platform.name }}"
path: |
out/jreleaser/trace.log
out/jreleaser/output.properties
out/jreleaser/package/spotless-cli/**
23 changes: 23 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: "Validate Gradle Wrapper"

on:
workflow_dispatch: null
push:
paths:
- "gradlew"
- "gradlew.bat"
- "gradle/wrapper/"
pull_request:
paths:
- "gradlew"
- "gradlew.bat"
- "gradle/wrapper/"

jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4
162 changes: 162 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
---
name: "publish a release"

on:
workflow_dispatch:
inputs:
force_version:
description: "Force version number to publish (empty for automatic semver versioning)"
required: false
default: ""
to_publish: #TODO
description: "What to publish"
required: true
default: "all"
type: choice
options:
- plugin-gradle
- plugin-maven
- all
- lib

permissions:
contents: write

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
nativeCompile:
name: "${{ matrix.platform.name }}: create production-binary"
strategy:
matrix:
platform:
- name: "linux-x86_64"
runner: "ubuntu-latest"
- name: "linux-aarch_64"
runner: "ubuntu-24.04-arm"
- name: "windows-x86_64"
runner: "windows-latest"
- name: "osx-aarch_64"
runner: "macos-latest"
- name: "osx-x86_64"
runner: "macos-13"
runs-on: "${{ matrix.platform.runner }}"
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "15"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Install Node.js"
uses: actions/setup-node@v4
with:
node-version: "lts/jod" # 22
- name: "Setup Gradle"
uses: "gradle/actions/setup-gradle@v4"
- name: "Run nativeCompile"
run: "./gradlew -Prelease=true nativeCompile"
- name: "upload binary" # for collecting later
uses: actions/upload-artifact@v4
with:
name: "spotless-native-binary--${{ matrix.platform.name }}"
path: app/build/native/nativeCompile/spotless*
retention-days: 3
if-no-files-found: "error"
createRelease:
needs: nativeCompile
name: "Create a new release"
runs-on: ubuntu-latest
outputs:
RELEASE_VERSION: ${{ steps.get_version.outputs.VERSION }}
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "15"
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Setup Gradle"
uses: "gradle/actions/setup-gradle@v4"
- name: "Retrieve production-binaries"
uses: "actions/download-artifact@v4"
with:
# no name - download all artifacts
path: "app/build/collected-binaries"
- name: "Create release"
run: "./gradlew -Prelease=true -PreleaseBinariesRootDir=app/build/collected-binaries changelogPush"
- name: "Get version and set to output"
id: get_version
run: echo "VERSION=$(./gradlew changelogPrintCurrentVersion -Prelease=true --quiet)" >> "$GITHUB_OUTPUT"
- name: "Prepare jreleaser for distribution"
run: "./gradlew prepareJReleaserConfig"
- name: "Publish distributions"
uses: jreleaser/release-action@v2
with:
setup-java: false
arguments: "publish"
env:
JRELEASER_PROJECT_VERSION: ${{ steps.get_version.outputs.VERSION }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_HOMEBREW_GITHUB_TOKEN: ${{ secrets.BREW_CHOCO_CLI_GH_TOKEN }}
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_BREW_ACTIVE: ALWAYS
- name: "Persist jreleaser output"
if: always()
uses: actions/upload-artifact@v4
with:
name: jreleaser-release-unix
path: |
out/jreleaser/trace.log
out/jreleaser/output.properties
createChocoRelase:
needs: createRelease
name: "Publish chocolatey package"
runs-on: windows-latest
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "15"
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Install JDK 21"
uses: "actions/setup-java@v4"
with:
distribution: "graalvm"
java-version: 21
- name: "Retrieve production-binaries"
uses: "actions/download-artifact@v4"
with:
# no name - download all artifacts
path: "app/build/collected-binaries"
- name: "Publish distributions"
uses: jreleaser/release-action@v2
with:
setup-java: false
arguments: "publish"
env:
JRELEASER_PROJECT_VERSION: ${{ needs.createRelease.outputs.RELEASE_VERSION }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_CHOCOLATEY_GITHUB_TOKEN: ${{ secrets.BREW_CHOCO_CLI_GH_TOKEN }}
JRELEASER_CHOCOLATEY_USER: ${{ secrets.CHOCO_USER }} #manually extracted in jreleaser.yml
JRELEASER_CHOCOLATEY_API_KEY: ${{ secrets.CHOCO_API_KEY }}
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_ACTIVE: ALWAYS
- name: "Persist jreleaser output"
if: always()
uses: actions/upload-artifact@v4
with:
name: jreleaser-release-windows
path: |
out/jreleaser/trace.log
out/jreleaser/output.properties
Loading