chore: move license information to deb5 config #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2023 Kevin de Jong <[email protected]> | |
# SPDX-License-Identifier: CC0-1.0 | |
--- | |
name: Release and Deploy GitHub Action | |
concurrency: deployment | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
check-lib: | |
uses: ./.github/workflows/check-lib.yml | |
unit-test: | |
needs: check-lib | |
uses: ./.github/workflows/validate.yml | |
reuse-me: | |
uses: ./.github/workflows/copyright.yml | |
release-me: | |
name: Create GitHub Release | |
needs: ["reuse-me", "unit-test"] | |
runs-on: ubuntu-latest | |
outputs: | |
created: ${{ steps.release.outputs.created }} | |
release: ${{ steps.release.outputs.release }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run ReleaseMe | |
id: release | |
uses: ./ | |
with: | |
token: ${{ github.token }} | |
prefix: v | |
artifacts: | | |
ReuseMe SBOM | |
release-action: | |
name: Release GitHub Action | |
runs-on: ubuntu-latest | |
needs: release-me | |
if: needs.release-me.outputs.created | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ fromJSON(needs.release-me.outputs.release).tag_name }} | |
- name: Update the ${{ fromJSON(needs.release-me.outputs.release).tag_name }} tag | |
uses: actions/[email protected] | |
with: | |
source-tag: ${{ fromJSON(needs.release-me.outputs.release).tag_name }} |