Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thodor12 authored Aug 23, 2024
1 parent 84f95b6 commit e6a4fad
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@ name: Release

on:
push:
branches: [
"version/*",
"release/*",
"testing/*",
]
branches:
- "version/*"
- "release/*"
- "testing/*"

permissions:
contents: write
statuses: write

jobs:
release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@ng7
uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@main
with:
java: 21
java: 17
curse_release_type: ${{ contains(github.ref, 'release') && 'release' || 'beta' }}
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
secrets: inherit

0 comments on commit e6a4fad

Please sign in to comment.