Skip to content

Commit 1b94a84

Browse files
committed
Test run workflow manually
1 parent 4ae71dc commit 1b94a84

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build-deb-qt5-amd64.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ on:
44
push:
55
tags:
66
- "*"
7+
workflow_dispatch:
8+
inputs:
9+
branch:
10+
description: 'Checkout branch'
11+
required: false
12+
tag:
13+
description: 'Checkout tag'
14+
required: false
715

816
jobs:
917
build-omodsim:
10-
name: Build OpenModSim deb package version '${{ github.ref_name }}' with Qt5
18+
name: Build OpenModSim deb package version '${{ github.event.inputs.tag || github.event.inputs.branch || github.ref_name }}' with Qt5
1119
runs-on: ubuntu-latest
1220
container:
1321
image: ubuntu:20.04
@@ -29,7 +37,7 @@ jobs:
2937
- name: Checkout repository
3038
uses: actions/checkout@v4
3139
with:
32-
ref: ${{ github.ref_name }}
40+
ref: ${{ github.event.inputs.tag || github.event.inputs.branch || github.ref_name }}
3341

3442
- name: Extract version from CMakeLists.txt
3543
id: extract_version

0 commit comments

Comments
 (0)