From eb434bdb1352f8571a6d5ec8bce816621cabefbb Mon Sep 17 00:00:00 2001 From: Sergey Nikolaev Date: Sat, 24 Oct 2026 12:23:30 +0700 Subject: [PATCH] ci: restore published Executor 1.4.6 dev test archive Reuse the archived Linux AMD64 development tarball from the original dev packaging run and attach it to the existing GitHub release. No rebuilding, publishing, tag changes, or runtime changes. --- .../restore_executor_1_4_6_dev_archive.yml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/restore_executor_1_4_6_dev_archive.yml diff --git a/.github/workflows/restore_executor_1_4_6_dev_archive.yml b/.github/workflows/restore_executor_1_4_6_dev_archive.yml new file mode 100644 index 0000000..971bb15 --- /dev/null +++ b/.github/workflows/restore_executor_1_4_6_dev_archive.yml @@ -0,0 +1,40 @@ +name: Restore Executor 1.4.6 dev test archive + +# One-time recovery of the test archive from the already published dev build. +# Remove this workflow after the asset has been restored. +on: + workflow_dispatch: + inputs: + confirm: + description: 'Type restore-executor-1.4.6-dev-archive' + required: true + type: string + +permissions: + actions: read + contents: write + +jobs: + restore: + if: ${{ inputs.confirm == 'restore-executor-1.4.6-dev-archive' }} + runs-on: ubuntu-22.04 + steps: + - name: Download archive from successful dev build + uses: actions/download-artifact@v7 + with: + repository: manticoresoftware/executor + run-id: 39895724555 + github-token: ${{ github.token }} + name: artifact-dev-ubuntu-22.04-amd64 + path: . + + - name: Upload missing dev archive to existing 1.4.6 release + env: + GH_TOKEN: ${{ github.token }} + shell: bash + run: | + set -euo pipefail + tar -xf artifact.tar + archive='manticore-executor-1.4.6+26102310-445049b4-dev-linux-amd64-dev.tar.gz' + test -s "$archive" + gh release upload 1.4.6 "$archive" --repo "$GITHUB_REPOSITORY"