refactor: improve code formatting in `mod.rs` and `logger.rs`
[ouch.git] / .github / workflows / draft-release-manual-trigger.yml
blobd97ec7218622dbb7316947ac35384df57f93b514
1 name: Manual trigger draft release
3 on:
4   workflow_dispatch:
5     inputs:
6       run_id:
7         description: Run id of the action run to pull artifacts from
8         required: true
10 jobs:
11   create-draft-release-from-manual-trigger:
12     runs-on: ubuntu-latest
13     steps:
14       - name: Checkout
15         uses: actions/checkout@v4
17       - name: Download artifacts
18         uses: dawidd6/action-download-artifact@v6
19         with:
20           path: artifacts
21           workflow: build-and-test.yml
22           run_id: ${{ github.event.inputs.run_id }}
24       - name: Package release assets
25         run: scripts/package-release-assets.sh
27       - name: Create release
28         uses: softprops/action-gh-release@v2
29         with:
30           draft: true
31           name: manual release ${{ github.event.inputs.run_id }}
32           files: release/ouch-*