Skip to content

Fix issue #394

Fix issue #394 #1653

Workflow file for this run

name: Publish Snapshot
on: [push, pull_request]
jobs:
publish:
if: ${{ github.repository_owner == 'Vineflower' && contains(github.ref_name, 'develop') }}
runs-on: ubuntu-24.04
container:
image: eclipse-temurin:17
options: --user root
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: false
- run: ./gradlew publish --stacktrace
env:
STATUS: snapshot
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }}