mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
34 lines
818 B
YAML
34 lines
818 B
YAML
name: manual-release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
run_id:
|
|
description: Run id of the action run to pull artifacts from
|
|
required: true
|
|
|
|
jobs:
|
|
github-release:
|
|
name: github-release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@v2
|
|
with:
|
|
path: artifacts
|
|
workflow: build-and-test.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@v1
|
|
with:
|
|
draft: true
|
|
name: manual release ${{ github.event.inputs.run_id }}
|
|
files: release/ouch-*
|