mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-03 10:00:19 +00:00
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: Automatic trigger draft release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
jobs:
|
|
call-workflow-build-artifacts-and-run-tests:
|
|
uses: ./.github/workflows/build-artifacts-and-run-tests.yml
|
|
with:
|
|
matrix_all_combinations: true
|
|
artifact_upload_mode: with_default_features
|
|
|
|
automated-draft-release:
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
needs: call-workflow-build-artifacts-and-run-tests
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@v6
|
|
with:
|
|
path: downloaded_artifacts
|
|
workflow: ./.github/workflows/build-artifacts-and-run-tests.yml
|
|
name: ouch-*
|
|
|
|
- name: Package release assets
|
|
run: scripts/package-release-assets.sh
|
|
|
|
- name: Create release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
draft: true
|
|
files: output_assets/ouch-*
|