Skip to content

Commit

Permalink
Test build run on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Thodor12 committed Aug 19, 2024
1 parent 9772c6b commit 5460832
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,18 @@ 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
packages: write
contents: read

jobs:
release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@main
build:
uses: Thodor12/operapublicacreator/.github/workflows/gradle.build.yaml@00ee6267732e5a1be194e77cbac2bd40f020c3b0
with:
java: 17
gradle_tasks: assemble
secrets:
CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }}
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: Release

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

permissions:
contents: write
Expand Down

0 comments on commit 5460832

Please sign in to comment.