🎉 Add Generate References workflow [generate-references]

This commit is contained in:
Simon Schneegans
2022-08-31 16:14:12 +02:00
parent 07669bee7e
commit 2b7ae2c0cc
+21 -1
View File
@@ -68,6 +68,26 @@ jobs:
run: | run: |
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
build:
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@v2
- name: Download Dependencies
run: |
sudo apt update -qq
sudo apt install gettext -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
@@ -101,5 +121,5 @@ jobs:
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: log_${{ matrix.version }}_${{ matrix.session }} name: result_${{ matrix.version }}_${{ matrix.session }}
path: tests/output/ path: tests/output/