mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-03 10:00:19 +00:00
33 lines
848 B
YAML
33 lines
848 B
YAML
name: Manual trigger draft release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
run_id:
|
|
description: Run id of the action run to pull artifacts from
|
|
required: true
|
|
|
|
jobs:
|
|
create-draft-release-from-manual-trigger:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@v6
|
|
with:
|
|
path: artifacts
|
|
workflow: build-artifacts-and-run-tests.yml
|
|
run_id: ${{ github.event.inputs.run_id }}
|
|
|
|
- name: Package release assets
|
|
run: scripts/package-release-assets.sh
|
|
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
draft: true
|
|
name: manual release ${{ github.event.inputs.run_id }}
|
|
files: release/ouch-*
|