Skip to content
Snippets Groups Projects
Commit 13581b5a authored by olemorud's avatar olemorud Committed by Ole Morud
Browse files

[ci] Update artifacts on push to release branch

parent 27eda924
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,11 @@ on: ...@@ -12,6 +12,11 @@ on:
paths-ignore: paths-ignore:
- 'doc/**' - 'doc/**'
- 'documentation/**' - 'documentation/**'
push:
branches:
- 'master'
- 'v*-*-*-patches'
# Allows nightly builds to trigger one run for each branch easily # Allows nightly builds to trigger one run for each branch easily
workflow_call: workflow_call:
...@@ -99,7 +104,7 @@ jobs: ...@@ -99,7 +104,7 @@ jobs:
ls -la ls -la
' '
- name: Install root PR - name: Pull Request Build
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
run: ".github/workflows/rootci-installers/build_root.py run: ".github/workflows/rootci-installers/build_root.py
--buildtype ${{ matrix.config }} --buildtype ${{ matrix.config }}
...@@ -110,7 +115,7 @@ jobs: ...@@ -110,7 +115,7 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }} --repository ${{ github.server_url }}/${{ github.repository }}
" "
- name: Install root workflow dispatch/call - name: Workflow dispatch/call
if: github.event_name == 'workflow_dispatch' if: github.event_name == 'workflow_dispatch'
run: ".github/workflows/rootci-installers/build_root.py run: ".github/workflows/rootci-installers/build_root.py
--buildtype ${{ matrix.config }} --buildtype ${{ matrix.config }}
...@@ -121,7 +126,7 @@ jobs: ...@@ -121,7 +126,7 @@ jobs:
--repository ${{ github.server_url }}/${{ github.repository }} --repository ${{ github.server_url }}/${{ github.repository }}
" "
- name: Install root nightly - name: Nightly build
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
run: ".github/workflows/rootci-installers/build_root.py run: ".github/workflows/rootci-installers/build_root.py
--buildtype ${{ matrix.config }} --buildtype ${{ matrix.config }}
...@@ -129,4 +134,14 @@ jobs: ...@@ -129,4 +134,14 @@ jobs:
--incremental false --incremental false
--base_ref ${{ github.base_ref }} --base_ref ${{ github.base_ref }}
--repository ${{ github.server_url }}/${{ github.repository }} --repository ${{ github.server_url }}/${{ github.repository }}
"
- name: Update artifacts after push to release branch
if: github.event_name == 'push'
run: ".github/workflows/rootci-installers/build_root.py
--buildtype ${{ matrix.config }}
--platform ${{ matrix.image }}
--incremental true
--base_ref ${{ github.ref_name }}
--repository ${{ github.server_url }}/${{ github.repository }}
" "
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment