Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

fix: added pull request write permission to release ci #39

fix: added pull request write permission to release ci

fix: added pull request write permission to release ci #39

Workflow file for this run

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@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'oracle'
cache: gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run JReleaser Config
run: |
./gradlew jreleaserConfig