.github/workflows/prep_sources.yml
changeset 84 8e01f3bb59df
parent 77 2f3d1cd0bd64
child 85 63af88f62324
equal deleted inserted replaced
83:db3f332d7144 84:8e01f3bb59df
     7         value: ${{ jobs.get_sources.env.beremiz_revisionid }}
     7         value: ${{ jobs.get_sources.env.beremiz_revisionid }}
     8       matiec_revisionid:
     8       matiec_revisionid:
     9         value: ${{ jobs.get_sources.env.matiec_revisionid }}
     9         value: ${{ jobs.get_sources.env.matiec_revisionid }}
    10       canfestival_revisionid:
    10       canfestival_revisionid:
    11         value: ${{ jobs.get_sources.env.canfestival_revisionid }}
    11         value: ${{ jobs.get_sources.env.canfestival_revisionid }}
       
    12       Modbus_revisionid:
       
    13         value: ${{ jobs.get_sources.env.Modbus_revisionid }}
       
    14       open62541_revisionid:
       
    15         value: ${{ jobs.get_sources.env.opem62541_revisionid }}
    12 
    16 
    13 jobs:
    17 jobs:
    14   get_sources:
    18   get_sources:
    15     runs-on: ubuntu-latest
    19     runs-on: ubuntu-latest
    16 
    20 
    17     env:
    21     env:
    18         beremiz_revisionid: c3847f87bde2d520b856e353498cb2bad9d83911
    22         beremiz_revisionid: c3847f87bde2d520b856e353498cb2bad9d83911
    19         matiec_revisionid: ba00e2b18e7335c03c011e1c6b2a5d99fc3571c3
    23         matiec_revisionid: ba00e2b18e7335c03c011e1c6b2a5d99fc3571c3
    20         canfestival_revisionid: 12a05e422666c738d1312259703f80150c747cb5
    24         canfestival_revisionid: 12a05e422666c738d1312259703f80150c747cb5
       
    25         Modbus_revisionid: 75ba7cb15908411e71bf0e7b66651d182f347747
       
    26         open62541_revisionid: ff73268829359639531ff02905c889f73a77b408
    21 
    27 
    22 
    28 
    23     steps:
    29     steps:
    24     # repositories are directly checked out where Makerfile expects them to be
    30     # repositories are directly checked out where Makerfile expects them to be
    25     - uses: actions/checkout@v3
    31     - uses: actions/checkout@v3
    38       with:
    44       with:
    39           repository: beremiz/canfestival
    45           repository: beremiz/canfestival
    40           ref: ${{ env.canfestival_revisionid }}
    46           ref: ${{ env.canfestival_revisionid }}
    41           path: build/sources/canfestival
    47           path: build/sources/canfestival
    42 
    48 
       
    49     - uses: actions/checkout@v3
       
    50       with:
       
    51           repository: beremiz/Modbus
       
    52           ref: ${{ env.Modbus_revisionid }}
       
    53           path: build/sources/Modbus
       
    54 
       
    55     - uses: actions/checkout@v3
       
    56       with:
       
    57           repository: open62541/open62541
       
    58           ref: ${{ env.open62541_revisionid }}
       
    59           path: build/sources/open62541
       
    60 
    43     - name: Touch expected Makfile targets to shortcut HG checkout
    61     - name: Touch expected Makfile targets to shortcut HG checkout
    44       run: |
    62       run: |
    45         touch build/sources/beremiz_${{ env.beremiz_revisionid }}
    63         touch build/sources/beremiz_${{ env.beremiz_revisionid }}
    46         touch build/sources/matiec_${{ env.matiec_revisionid }}
    64         touch build/sources/matiec_${{ env.matiec_revisionid }}
    47         touch build/sources/canfestival_${{ env.canfestival_revisionid }}
    65         touch build/sources/canfestival_${{ env.canfestival_revisionid }}
       
    66         touch build/sources/Modbus_${{ env.Modbus_revisionid }}
       
    67         touch build/sources/open62541_${{ env.open62541_revisionid }}
    48         touch build/sources/beremiz_src
    68         touch build/sources/beremiz_src
    49         touch build/sources/matiec_src
    69         touch build/sources/matiec_src
    50         touch build/sources/canfestival_src
    70         touch build/sources/canfestival_src
       
    71         touch build/sources/Modbus_src
       
    72         touch build/sources/open62541_src
    51         touch build/own_sources
    73         touch build/own_sources
    52         cat >> build/revisions.txt <<EOF
    74         cat >> build/revisions.txt <<EOF
    53         beremiz_public_dist ${{ github.sha }}
    75         beremiz_public_dist ${{ github.sha }}
    54         beremiz ${{ env.beremiz_revisionid }}
    76         beremiz ${{ env.beremiz_revisionid }}
    55         matiec ${{ env.matiec_revisionid }}
    77         matiec ${{ env.matiec_revisionid }}
    56         canfestival ${{ env.canfestival_revisionid }}
    78         canfestival ${{ env.canfestival_revisionid }}
       
    79         Modbus ${{ env.Modbus_revisionid }}
       
    80         open62541 ${{ env.open62541_revisionid }}
    57         EOF
    81         EOF
    58 
    82 
    59     - name: Upload source artifact
    83     - name: Upload source artifact
    60       uses: actions/upload-artifact@v3
    84       uses: actions/upload-artifact@v3
    61       with:
    85       with: