refactor: improve code formatting in `mod.rs` and `logger.rs`
[ouch.git] / .github / workflows / draft-release-automatic-trigger.yml
blob2ebf9670cf6722a680ab0221fc430f768df7187c
1 name: Automatic trigger draft release
3 on:
4   push:
5     tags:
6       - "[0-9]+.[0-9]+.[0-9]+"
8 jobs:
9   call-workflow-build-artifacts-and-run-tests:
10     uses: ./.github/workflows/build-artifacts-and-run-tests.yml
11     with:
12       matrix_all_combinations: true
13       upload_artifacts: true
15   automated-draft-release:
16     runs-on: ubuntu-latest
17     if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
18     needs: build-artifacts-and-run-tests
19     steps:
20       - name: Checkout
21         uses: actions/checkout@v4
23       - name: Download artifacts
24         uses: dawidd6/action-download-artifact@v6
25         with:
26           path: artifacts
28       - name: Package release assets
29         run: scripts/package-release-assets.sh
31       - name: Create release
32         uses: softprops/action-gh-release@v2
33         with:
34           draft: true
35           files: release/ouch-*