Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/restore_executor_1_4_6_dev_archive.yml
Original file line number Diff line number Diff line change
@@ -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"
Loading