Skip to content

Commit

Permalink
Update gradle_template.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Oct 29, 2023
1 parent 267df5a commit c7b7512
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/gradle_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,30 @@ on:
secrets:
DISCORD_WEBHOOK:
required: true

MAVEN_USER:
required: true
required: false
MAVEN_PASSWORD:
required: true
required: false

SONATYPE_USER:
required: false
SONATYPE_PASSWORD:
required: false

GPG_PRIVATE_KEY:
required: true
required: false
GPG_KEY_PASSWORD:
required: true
required: false

permissions:
contents: read

jobs:
notify-discord-start:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: matyrobbrt/actions-tag-versioning@main
id: version
Expand Down Expand Up @@ -81,6 +90,6 @@ jobs:
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ needs.gradle.result }}
version: ${{ needs.notify-discord-start.steps.version.outputs.version }}
version: ${{ needs.notify-discord-start.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c7b7512

Please sign in to comment.