Skip to content

Commit

Permalink
Create build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thodor12 authored Aug 27, 2024
1 parent 2301592 commit 35becf0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Pre-release

on:
pull_request:
types:
- opened
- synchronize
- labeled
- unlabeled
push:
branches:
- "version/*"
- "release/*"
- "testing/*"
workflow_dispatch:

permissions:
contents: read
statuses: write
packages: write

jobs:
build:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.build.yaml@ng7
with:
java: 21
secrets: inherit
pre-release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.prerelease.yaml@ng7
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && contains( github.event.pull_request.labels.*.name, 'Pre-release')
with:
java: 21
secrets: inherit

0 comments on commit 35becf0

Please sign in to comment.