mirror of
https://github.com/openai/codex.git
synced 2026-04-28 18:32:04 +03:00
Revert "templates and build step for validating/submitting winget package" (#6696)
Reverts openai/codex#6485
This commit is contained in:
26
.github/workflows/rust-release.yml
vendored
26
.github/workflows/rust-release.yml
vendored
@@ -383,8 +383,6 @@ jobs:
|
||||
tag: ${{ github.ref_name }}
|
||||
should_publish_npm: ${{ steps.npm_publish_settings.outputs.should_publish }}
|
||||
npm_tag: ${{ steps.npm_publish_settings.outputs.npm_tag }}
|
||||
windows_x64_sha256: ${{ steps.win_hash.outputs.windows_x64_sha256 }}
|
||||
windows_arm64_sha256: ${{ steps.win_hash.outputs.windows_arm64_sha256 }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -397,16 +395,6 @@ jobs:
|
||||
- name: List
|
||||
run: ls -R dist/
|
||||
|
||||
- name: Compute SHA256 for Windows EXEs
|
||||
id: win_hash
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
x64_sha=$(sha256sum "dist/x86_64-pc-windows-msvc/codex-rs/dist/x86_64-pc-windows-msvc/codex-x86_64-pc-windows-msvc.exe" | awk '{print $1}')
|
||||
arm_sha=$(sha256sum "dist/aarch64-pc-windows-msvc/codex-rs/dist/aarch64-pc-windows-msvc/codex-aarch64-pc-windows-msvc.exe" | awk '{print $1}')
|
||||
echo "windows_x64_sha256=${x64_sha}" >> "$GITHUB_OUTPUT"
|
||||
echo "windows_arm64_sha256=${arm_sha}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Define release name
|
||||
id: release_name
|
||||
run: |
|
||||
@@ -561,16 +549,4 @@ jobs:
|
||||
repos/${GITHUB_REPOSITORY}/git/refs/heads/latest-alpha-cli \
|
||||
-X PATCH \
|
||||
-f sha="${GITHUB_SHA}" \
|
||||
-F force=true
|
||||
|
||||
winget:
|
||||
needs: release
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Validate WinGet manifests
|
||||
uses: ./.github/actions/winget-submit
|
||||
with:
|
||||
version: ${{ needs.release.outputs.version }}
|
||||
windows_x64_sha256: ${{ needs.release.outputs.windows_x64_sha256 }}
|
||||
windows_arm64_sha256: ${{ needs.release.outputs.windows_arm64_sha256 }}
|
||||
-F force=true
|
||||
|
||||
Reference in New Issue
Block a user