Skip to content

Commit 87f851e

Browse files
committed
ci(windows): retest isolated dependency backport source
Signed-off-by: Shailendra Singh <shailendras@nvidia.com>
1 parent 9f3d3a6 commit 87f851e

1 file changed

Lines changed: 7 additions & 67 deletions

File tree

‎.github/workflows/windows-packages.yml‎

Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
name: Windows signing candidates
1+
name: Windows backport validation
22

33
on:
44
push:
5-
branches: [shailendra-nv/windows-security-backports]
5+
branches: [shailendra-nv/windows-security-handoff]
6+
paths: ['.github/workflows/windows-packages.yml']
67
workflow_dispatch:
78

89
permissions:
910
contents: read
1011

1112
env:
12-
SOURCE_SHA: ${{ github.sha }}
13+
SOURCE_SHA: 76873620f6630c85f4eeb927e52426fc1823bebb
1314
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_OPENSHELL: 0.1.8
1415

1516
jobs:
@@ -82,7 +83,7 @@ jobs:
8283
retention-days: 30
8384

8485
sdk:
85-
name: Build matching SDKs
86+
name: Validate matching SDKs
8687
runs-on: ubuntu-latest
8788
timeout-minutes: 30
8889
steps:
@@ -94,69 +95,8 @@ jobs:
9495
with:
9596
install: false
9697
experimental: true
97-
- name: Build SDKs using repository tasks
98+
- name: Run SDK regression checks
9899
run: |
99100
mise install --locked python uv node
100-
mise run --skip-tools build:python:wheel
101101
mise run --skip-tools sdk:ts:ci
102-
mkdir sdk-artifacts
103-
cp target/wheels/openshell-0.1.8-py3-none-any.whl sdk-artifacts/
104-
cd sdk/typescript
105-
npm version 0.1.8 --no-git-tag-version --ignore-scripts
106-
npm pack --ignore-scripts --pack-destination ../../sdk-artifacts
107-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
108-
with:
109-
name: sdk
110-
path: sdk-artifacts/
111-
if-no-files-found: error
112-
retention-days: 30
113-
114-
package:
115-
name: Package and attest
116-
needs: [native, sdk]
117-
runs-on: ubuntu-latest
118-
timeout-minutes: 20
119-
permissions:
120-
contents: read
121-
id-token: write
122-
attestations: write
123-
artifact-metadata: write
124-
steps:
125-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
126-
with:
127-
path: automation
128-
persist-credentials: false
129-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
130-
with:
131-
ref: ${{ env.SOURCE_SHA }}
132-
path: source
133-
persist-credentials: false
134-
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
135-
with:
136-
path: inputs
137-
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
138-
with:
139-
install: false
140-
- name: Assemble and audit packages
141-
run: |
142-
cd source
143-
mise install --locked uv python github:anchore/syft
144-
mise exec uv python github:anchore/syft -- mise run --skip-tools sbom
145-
mise exec uv python -- uv run --no-project python ../automation/packaging/windows/package.py
146-
- name: Attest candidate ZIP provenance
147-
id: attest
148-
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
149-
with:
150-
subject-path: dist/*.zip
151-
push-to-registry: false
152-
create-storage-record: false
153-
- name: Save verification bundle
154-
run: cp "$BUNDLE_PATH" dist/github-attestation.sigstore.json
155-
env:
156-
BUNDLE_PATH: ${{ steps.attest.outputs.bundle-path }}
157-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
158-
with:
159-
name: OpenShell-Windows-0.1.8-signing-candidates
160-
path: dist/
161-
if-no-files-found: error
162-
retention-days: 30
102+
mise run --skip-tools test:python

0 commit comments

Comments
 (0)