2024-03-03 13:11:25 -08:00
|
|
|
name: Continuous Integration
|
|
|
|
on:
|
|
|
|
push:
|
2024-08-02 06:03:50 -07:00
|
|
|
branches: [develop]
|
2024-03-03 13:11:25 -08:00
|
|
|
pull_request:
|
2024-05-05 20:20:32 -07:00
|
|
|
branches: [develop]
|
2024-03-04 20:07:15 -08:00
|
|
|
workflow_dispatch:
|
2024-08-02 12:22:38 -07:00
|
|
|
workflow_call:
|
2024-03-03 13:11:25 -08:00
|
|
|
jobs:
|
2024-08-02 06:03:50 -07:00
|
|
|
build:
|
2024-08-19 07:12:00 -07:00
|
|
|
name: Build
|
|
|
|
uses: ./.github/workflows/build.yml
|
|
|
|
version:
|
|
|
|
name: Prepare version string
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
|
|
version: ${{ steps.version.outputs.version }}
|
2024-08-02 02:11:45 -07:00
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v4
|
2024-08-19 07:12:00 -07:00
|
|
|
- name: Output version string
|
|
|
|
id: version
|
|
|
|
run: echo "version=$(cat VERSION)" >> "$GITHUB_OUTPUT"
|
|
|
|
package:
|
|
|
|
needs: [build, version]
|
|
|
|
name: Package
|
|
|
|
uses: ./.github/workflows/package.yml
|
|
|
|
with:
|
|
|
|
version: ${{ needs.version.outputs.version }}
|