forked from alexarchambault/sonatype-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (28 loc) · 932 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Sonatype Stats'
description: 'Generates index.html and JSONs with stats downloaded from Sonatype Central Statistics'
branding:
icon: 'activity'
color: 'green'
inputs:
sonatype-project:
description: 'Name of the project on Sonatype OSS'
required: true
sonatype-username:
description: 'Username you use to login into Sonatype OSS'
required: true
sonatype-password:
description: 'Password you use to login into Sonatype OSS'
required: true
runs:
using: "composite"
steps:
- name: Install Scala CLI
uses: VirtusLab/scala-cli-setup@v1.1.3
- name: Run Statistics generator
run: scala-cli run "$GITHUB_ACTION_PATH"
shell: bash
env:
SONATYPE_PROJECT: ${{ inputs.sonatype-project }}
SONATYPE_USERNAME: ${{ inputs.sonatype-username }}
SONATYPE_PASSWORD: ${{ inputs.sonatype-password }}
GITHUB_ACTION_PATH: ${{ github.action_path }}