Skip to content

OPSEXP-2849 Create reusable build/test workflow with ACS 7.4 support #795

OPSEXP-2849 Create reusable build/test workflow with ACS 7.4 support

OPSEXP-2849 Create reusable build/test workflow with ACS 7.4 support #795

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- 'Makefile'
- '.github/workflows/test-make.yml'
- '.github/workflows/kics.yml'
- '**/*.md'
pull_request:
branches:
- main
paths-ignore:
- 'Makefile'
- '.github/workflows/test-make.yml'
- '.github/workflows/kics.yml'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
# telemetry
actions: read
# ghcr push
packages: write
attestations: write
id-token: write
jobs:
pre-commit:
runs-on: ubuntu-latest
if: '! github.event.pull_request.head.repo.fork'
permissions:
contents: write
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
with:
auto-commit: "true"
CI:
name: Build v${{ matrix.version }}
needs: pre-commit
uses: ./.github/workflows/reusable_build_and_test.yml
strategy:
fail-fast: false
matrix:
version: [23, 74]
with:
tag: ${{ github.event_name == 'pull_request' && format('pr-{0}-v{1}', github.event.pull_request.number, matrix.version) || format('{0}-v{1}', github.ref_name, matrix.version) }}
acs_version: ${{ matrix.version }}
secrets: inherit