mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
Merge 153f908891 into bf6c5f2c8a
This commit is contained in:
7 files changed
+37
-9
No files matched your search
@@ -76,13 +76,32 @@ jobs:
|
||||
make docs
|
||||
|
||||
# Update main index if this is a release
|
||||
# index.html could be lfs
|
||||
- name: Update version index
|
||||
if: github.event_name == 'release'
|
||||
#if: (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
run: |
|
||||
python docs/main_index/render_main_index.py \
|
||||
--version "${{ steps.version.outputs.version }}" \
|
||||
--date "$(date +'%d.%m.%Y')"
|
||||
|
||||
|
||||
#if: (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
- name: Commit and Push version index changes
|
||||
run: |
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
|
||||
git add docs/main_index/versions.yaml docs/main_index/index.html
|
||||
git commit -m "Update version index [skip ci]"
|
||||
git push origin HEAD:refs/heads/${{ github.ref_name }}
|
||||
|
||||
# If push happened on main, also sync same file changes to developer
|
||||
MAIN_COMMIT="$(git rev-parse HEAD)"
|
||||
git fetch origin developer
|
||||
git switch -c sync-to-developer origin/developer
|
||||
git cherry-pick "${MAIN_COMMIT}"
|
||||
git push origin HEAD:refs/heads/developer
|
||||
|
||||
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Build wheel
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
#pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
name: Native CMake Build
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
#on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
name: Build slsdetlib
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
#on: [pull_request]
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: slsdet
|
||||
|
||||
on: [pull_request]
|
||||
#on: [pull_request]
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
name: Run Simulator Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
#push:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
versions:
|
||||
- version: 10.0.1
|
||||
type: Bug Fix
|
||||
date: 07.10.2026
|
||||
has_docs: true
|
||||
- version: 10.0.0
|
||||
type: Major
|
||||
date: 10.09.2025
|
||||
|
||||
Reference in new issue
Block a user