This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
feat: allow to set config file path with CONFIG_PATH
env
#25
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
name: Test JReleaser | |
on: | |
push: | |
paths: | |
- 'build.gradle.kts' | |
- '.github/workflows/release.yml' | |
- '.github/workflows/test-jreleaser.yml' | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
JRELEASER_GITHUB_TOKEN: ${{ github.token }} | |
JRELEASER_GITHUB_USERNAME: ${{ github.actor }} | |
JRELEASER_DOCKER_GHCR_PASSWORD: ${{ github.token }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'oracle' | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run JReleaser Config | |
run: | | |
./gradlew jreleaserConfig |