Skip to content

build: create release 6.2.0 #31

build: create release 6.2.0

build: create release 6.2.0 #31

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: https://github.com/winft/theseus-ship.git
reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance
uses: fsfe/reuse-action@v2
clang-format:
uses: ./.github/workflows/clang-format.yml
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 }}
package:
uses: ./.github/workflows/package.yml
needs: [build, get]
with:
image: ${{ needs.get.outputs.image }}
package-name: theseus-ship