tree: 7d00bbdd54fcb56778c002978a989ea191a5c2a2
  1. action.yml
  2. Dockerfile
  3. entrypoint.sh
  4. README.md
export-gradle-properties/README.md

export-gradle-properties Action

Purpose: Export Gradle Properties as Environment Variables

A GitHub Action that takes a Java properties file (typically gradle.properties) and exports each property as an environment variable for use in subsequent steps of your workflow.

Example usage

- name: "Export Gradle Properties"
  uses: apache/grails-github-actions/export-gradle-properties@asf
- name: "Use the property"
  run:
    echo "${PROJECT_VERSION}"
  env:
    PROJECT_VERSION: ${{ env.projectVersion }}