mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 10:33:43 +00:00
feat: Add input to cd
This commit is contained in:
parent
6db093103e
commit
d57ef7a78c
8
.github/workflows/dotnet.yml
vendored
8
.github/workflows/dotnet.yml
vendored
@ -2,6 +2,12 @@ name: CI/CD
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release:
|
||||
description: 'Create a new release'
|
||||
required: true
|
||||
default: 'false'
|
||||
options: ['true', 'false']
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
@ -38,7 +44,7 @@ jobs:
|
||||
cd:
|
||||
runs-on: ubuntu-latest
|
||||
needs: ci
|
||||
if: github.event_name == 'workflow_run'
|
||||
if: github.event_name == 'workflow_dispatch' && ${{ github.event.inputs.release != 'false' }}
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
Loading…
Reference in New Issue
Block a user