mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
revamp of workflows by Marterich
This commit is contained in:
22
.github/workflows/compile-check.yaml
vendored
Normal file
22
.github/workflows/compile-check.yaml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Compile & Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
workflow_dispatch: # Manual trigger added
|
||||
workflow_call: # Allow other Actions to call this workflow
|
||||
|
||||
jobs:
|
||||
Compile-and-Check:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout Sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Compile and Syntaxcheck winutil.ps1
|
||||
shell: pwsh
|
||||
run: |
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
|
||||
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
|
Reference in New Issue
Block a user