Skip to content

Debug action

Debug action #13

Workflow file for this run

# Publish a Snapshot Release
name: Snapshot
on:
push:
branches:
- 'develop'
jobs:
build:
name: Publish snapshot
runs-on: ubuntu-latest
steps:
# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4
# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 21
# ================================
# EXPORT GRADLE PROJECT PROPERTIES
# ================================
- name: Export Gradle project properties
id: properties
uses: guillermocalvo/github-action-export-gradle-properties@main
with:
change_dir: .
project_dir: .
property: version
# ================================
# PUBLISH
# ================================
- name: Publish snapshot
if: endsWith(${{ steps.properties.outputs.version }}, '-SNAPSHOT')
run: echo ok