Skip to content

Commit 5ccd8af

Browse files
Release trigger, qt5
Build using qt@5 Move from tag trigger to release trigger
1 parent 12ba64f commit 5ccd8af

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/bin/install-deps-macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
brew install clhep root bison xerces-c
3+
brew install clhep root bison xerces-c qt@5

.github/workflows/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: build mac geant4
22

33
on:
4-
push:
5-
tags:
6-
- 'v*'
4+
release:
5+
types:
6+
- published
77

88
jobs:
99
build-geant4:
@@ -42,7 +42,7 @@ jobs:
4242
mkdir geant4-build
4343
mkdir geant4-${{ matrix.geant4-version }}
4444
cd geant4-build
45-
cmake -DCMAKE_INSTALL_PREFIX=../geant4-${{ matrix.geant4-version }} ../geant4 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_SYSTEM_CLHEP=ON
45+
cmake -DCMAKE_INSTALL_PREFIX=../geant4-${{ matrix.geant4-version }} ../geant4 -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_SYSTEM_CLHEP=ON -DGEANT4_USE_QT=ON
4646
make -j${{ steps.cpu-cores.outputs.count }}
4747
make install
4848
cd ../

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
* Update `.github/workflows/main.yaml`
99
* Tag
1010
* Push (inc tag)
11+
* Create release
1112

1213
Workflows run on tag-push and will create a release and upload artifacts

0 commit comments

Comments
 (0)