Skip to content

Commit

Permalink
Release geometries as root files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ast0815 committed Nov 23, 2023
1 parent 0b608a6 commit 661942a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,18 @@ jobs:
done
- name: Compress geometry files
run: tar -czf default_geometries_${GITHUB_REF_NAME}.tar.gz *.gdml
- name: Install ROOT
run: sudo snap install root-framework
- name: Convert gdml files to root
run: |
for F in *.gdml
do
root "gdml2root.C(\"$F\", \"${F%.gdml}.root\")"
done
- name: Create release
uses: softprops/action-gh-release@v1
with:
files: |
default_geometries_*.tar.gz
*.root
body: See `CHANGELOG.md` for a detailed release history.

0 comments on commit 661942a

Please sign in to comment.