This commit is contained in:
13
.gitea/workflows/build-dev.yaml
Normal file
13
.gitea/workflows/build-dev.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
name: Build on push
|
||||
run-name: Build on push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
uses: ./.gitea/workflows/build-project.yaml
|
||||
with:
|
||||
version_suffix: 'dev'
|
||||
secrets: inherit
|
||||
@@ -7,28 +7,5 @@ on:
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
uses: ./.gitea/workflows/prepare.yaml
|
||||
with:
|
||||
working_directory: src/cpl_core
|
||||
secrets: inherit
|
||||
|
||||
core:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_core
|
||||
secrets: inherit
|
||||
|
||||
query:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_query
|
||||
secrets: inherit
|
||||
|
||||
translation:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_translation
|
||||
uses: ./.gitea/workflows/build-project.yaml
|
||||
secrets: inherit
|
||||
@@ -8,17 +8,11 @@ on:
|
||||
description: 'Suffix for version (z.B. "dev", "alpha", "beta")'
|
||||
required: false
|
||||
type: string
|
||||
working_directory:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: [ runner ]
|
||||
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ${{ inputs.working_directory }}
|
||||
steps:
|
||||
- name: Clone Repository
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
@@ -57,4 +51,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: version
|
||||
path: ${{ inputs.working_directory }}/version.txt
|
||||
path: version.txt
|
||||
@@ -1,35 +1,40 @@
|
||||
name: Build on push
|
||||
run-name: Build on push
|
||||
name: Build projects
|
||||
run-name: Build projects
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
workflow_call:
|
||||
inputs:
|
||||
version_suffix:
|
||||
description: 'Suffix for version (z.B. "dev", "alpha", "beta")'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
uses: ./.gitea/workflows/prepare.yaml
|
||||
with:
|
||||
version_suffix: 'dev'
|
||||
working_directory: src/cpl_core
|
||||
version_suffix: ${{ inputs.version_suffix }}
|
||||
secrets: inherit
|
||||
|
||||
core:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_core
|
||||
secrets: inherit
|
||||
|
||||
query:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_query
|
||||
secrets: inherit
|
||||
|
||||
translation:
|
||||
needs: prepare
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_translation
|
||||
secrets: inherit
|
||||
|
||||
mail:
|
||||
uses: ./.gitea/workflows/package.yaml
|
||||
with:
|
||||
working_directory: src/cpl_mail
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user