File: mirror.yml

package info (click to toggle)
fastcdr 2.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,412 kB
  • sloc: cpp: 38,058; ansic: 80; xml: 22; makefile: 19; sh: 16
file content (42 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# .github/workflows/mirror.yml
on:
  push:
    branches:
      - 'master'
      - '1.1.x'
jobs:
  mirror_job_master:
    if: github.ref == 'refs/heads/master'
    runs-on: ubuntu-latest
    name: Mirror master branch to API & ABI compatible minor version branches
    strategy:
      fail-fast: false
      matrix:
        dest_branch:
          - '2.3.x'
          - '2.x'
    steps:
    - name: Mirror action step
      id: mirror
      uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        source: 'master'
        dest: ${{ matrix.dest_branch }}
  mirror_job_1_x:
    if: github.ref == 'refs/heads/1.1.x'
    runs-on: ubuntu-latest
    name: Mirror 1.1.x branch to API & ABI compatible minor version branches
    strategy:
      fail-fast: false
      matrix:
        dest_branch:
          - '1.x'
    steps:
    - name: Mirror action step
      id: mirror
      uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        source: '1.1.x'
        dest: ${{ matrix.dest_branch }}