Move installer tests to workflow

This commit is contained in:
twangboy 2024-09-04 10:22:25 -06:00 committed by Daniel Wozniak
parent a7da90d8f6
commit c738a2f2ed
2 changed files with 21 additions and 4 deletions

View file

@ -39,6 +39,19 @@
<%- endif %>
<%- set job_name = "test-windows-installer" %>
<%- if includes.get(job_name, True) %>
<{ job_name }>:
<%- do conclusion_needs.append(job_name) %>
name: Installer
if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}
uses: ./.github/workflows/test-installer-action-windows.yml
needs:
- prepare-workflow
with:
changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}
<%- endif %>
<%- set job_name = "prepare-release" %>
<%- if includes.get(job_name, True) %>

View file

@ -1,13 +1,17 @@
---
name: Test Windows Installer
on: pull_request
permissions:
contents: read
on:
workflow_call:
inputs:
changed-files:
required: true
type: string
description: JSON string containing information about changed files
jobs:
Test-Windows-Installer:
name: Test Windows Installer logic
runs-on:
- windows-latest