🔧 Create separate workflow for reference generation
This commit is contained in:
@@ -79,26 +79,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
|
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
|
||||||
|
|
||||||
references:
|
|
||||||
name: Generate References
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
if: >
|
|
||||||
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Download Dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt update -qq
|
|
||||||
sudo apt install gettext imagemagick -qq
|
|
||||||
- name: Build Burn-My-Windows
|
|
||||||
run: make
|
|
||||||
- name: Generate References
|
|
||||||
run: sudo make references
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: references
|
|
||||||
path: tests/references/
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Run Tests
|
name: Run Tests
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# SPDX-FileCopyrightText: Simon Schneegans <code@simonschneegans.de>
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
name: Generate References
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
references:
|
||||||
|
name: Generate References
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
if: >
|
||||||
|
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Download Dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt update -qq
|
||||||
|
sudo apt install gettext imagemagick -qq
|
||||||
|
- name: Build Burn-My-Windows
|
||||||
|
run: make
|
||||||
|
- name: Generate References
|
||||||
|
run: sudo make references
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: references
|
||||||
|
path: tests/references/
|
||||||
Reference in New Issue
Block a user