Skip to content

Commit

Permalink
set up environment keys
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Mar 22, 2024
1 parent 8daecfb commit 41f5907
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/publish-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ name: Publish libraries
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
# The data type of the input
type: string

jobs:
publish:
Expand All @@ -38,7 +27,7 @@ jobs:

# Create publish to maven
- name: Publish to maven
run: ./gradlew publishAllPublicationsToSonatypeRepository
run: ./gradlew publish
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit 41f5907

Please sign in to comment.