Skip to content

build: create release 6.2.0 #13

build: create release 6.2.0

build: create release 6.2.0 #13

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Roman Gilg <[email protected]>
#
# SPDX-License-Identifier: MIT
name: Main Checks
on:
- push
- pull_request
jobs:
get:
runs-on: ubuntu-latest
outputs:
image: ${{ steps.setvar.outputs.result }}
env:
prefix: registry.gitlab.com/kwinft/ci-images/archlinux/como-base
result: ''
branch: ''
steps:
- run: echo "branch=${{ github.head_ref || github.ref_name }}" >> $GITHUB_ENV
- run: echo "result=${{ env.prefix }}-master" >> $GITHUB_ENV
- if: startsWith(env.branch, '6.') || github.ref_type == 'tag'
run: echo "result=${{ env.prefix }}-stable" >> $GITHUB_ENV
- id: setvar
run: echo "result=${{ env.result }}" >> $GITHUB_OUTPUT
message-lint:
if: endsWith(needs.get.outputs.image, '-master')
uses: ./.github/workflows/commit-lint.yml
needs: get
with:
upstream-repo: winft/kdisplay
clang-format:
uses: ./.github/workflows/clang-format.yml
l10n-lint:
runs-on: ubuntu-latest
steps:
- name: Install gettext
run: sudo apt-get -y install gettext
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run pot-files comparison script
run: bash tooling/i18n/compare_pot_files.sh
build:
uses: ./.github/workflows/build.yml
needs: get
with:
image: ${{ needs.get.outputs.image }}
secrets: inherit
install:
uses: ./.github/workflows/install.yml
needs: [build, get]
with:
image: ${{ needs.get.outputs.image }}
test:
uses: ./.github/workflows/test.yml
needs: [build, get]
with:
image: ${{ needs.get.outputs.image }}
package:
uses: ./.github/workflows/package.yml
needs: [build, get]
with:
image: ${{ needs.get.outputs.image }}
package-name: kdisplay