gradle / gradle/actions

Provide an action to install the `gradle-profiler`

Open
#591 0 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
340
Forks
117
Avg merge
1d 9h
Merged PRs (30d)
11

Description

Doing a simple composite action by hand to install a distro of the tool from maven central isn't too bad but it would be nice if we had a central off the shelf action we could depend on to do it correctly.

```yml
name: 'Install gradle-profiler'
description: 'Install gradle-profiler'
inputs:
version:
description: "Tag version to install"
required: true
default: "0.22.0"
runs:
using: "composite"
steps:
- name: Install gradle-profiler ${{ inputs.version }}
shell: bash
run: |
cd ../
wget https://repo1.maven.org/maven2/org/gradle/profiler/gradle-profiler/${{ inputs.version }}/gradle-profiler-${{ inputs.version }}.zip
unzip gradle-profiler-${{ inputs.version }}.zip
./gradle-profiler-${{ inputs.version }}/bin/gradle-profiler -v
echo "$(pwd)/gradle-profiler-${{ inputs.version }}/bin" >> "$GITHUB_PATH"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.