Skip to content

build: create release 0.601.0 #7

build: create release 0.601.0

build: create release 0.601.0 #7

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/kf
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, '0.') || 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/disman
clang-format:
uses: ./.github/workflows/clang-format.yml
build:
uses: ./.github/workflows/build.yml
needs: get
with:
image: ${{ needs.get.outputs.image }}
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: disman