This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
EveConformance/.github/workflows/conformance.yml
2026-07-10 16:22:58 +01:00

48 lines
1.4 KiB
YAML

name: Eve conformance
on:
push:
workflow_dispatch:
permissions:
contents: write
jobs:
locked-conformance:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- name: Materialize public evidence workspace
shell: powershell
run: .\scripts\materialize-workspace.ps1
- name: Run locked conformance
shell: powershell
run: .\scripts\run-conformance.ps1 -WorkspaceRoot .\artifacts\workspace
- name: Pack immutable evidence bundle
id: pack
shell: powershell
run: |
$archive = .\scripts\pack-conformance.ps1 -Version $env:GITHUB_SHA
"archive=$archive" >> $env:GITHUB_OUTPUT
- name: Upload conformance bundle
uses: actions/upload-artifact@v7
with:
name: eve-conformance-${{ github.sha }}
path: ${{ steps.pack.outputs.archive }}
if-no-files-found: error
- name: Attach tagged release bundle
if: startsWith(github.ref, 'refs/tags/v')
shell: powershell
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release view $env:GITHUB_REF_NAME 2>$null
if ($LASTEXITCODE -ne 0) {
gh release create $env:GITHUB_REF_NAME --verify-tag --generate-notes
}
gh release upload $env:GITHUB_REF_NAME "${{ steps.pack.outputs.archive }}" --clobber