manual-release #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- 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-* |