Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Aug 18, 2024
1 parent 9a17910 commit 6b9d197
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 541 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Test PRs or General Branches

on:
pull_request:
types:
- synchronize
- opened
- ready_for_review
- reopened
push:
branches:
- 'feature/**'
- 'bugfix/**'
- 'hotfix/**'
- 'fix/**'
- 'features/**'
workflow_dispatch:

permissions:
contents: write
statuses: write

jobs:
release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.build.yaml@ng7
with:
java: 21
secrets:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

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

permissions:
contents: write
statuses: write

jobs:
release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@ng7
with:
java: 21
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 }}
58 changes: 0 additions & 58 deletions .teamcity/patches/buildTypes/Beta_Release.kts

This file was deleted.

104 changes: 0 additions & 104 deletions .teamcity/pom.xml

This file was deleted.

Loading

0 comments on commit 6b9d197

Please sign in to comment.