.github/workflows/prep_sources.yml
changeset 96 52b64ebc1970
parent 95 21dcb1a70f5d
child 97 4dd65c75e651
equal deleted inserted replaced
95:21dcb1a70f5d 96:52b64ebc1970
     1 name: Prepare sources
     1 name: Prepare sources
     2 
     2 
     3 on:
     3 on:
     4   workflow_call:
     4   workflow_call:
     5     outputs:
     5 
     6       beremiz_revisionid:
       
     7         value: ${{ jobs.get_sources.env.beremiz_revisionid }}
       
     8       matiec_revisionid:
       
     9         value: ${{ jobs.get_sources.env.matiec_revisionid }}
       
    10       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 }}
       
    16 
     6 
    17 jobs:
     7 jobs:
    18   get_sources:
     8   get_sources:
    19     runs-on: ubuntu-latest
     9     runs-on: ubuntu-latest
    20 
    10 
    56       with:
    46       with:
    57           repository: open62541/open62541
    47           repository: open62541/open62541
    58           ref: ${{ env.open62541_revisionid }}
    48           ref: ${{ env.open62541_revisionid }}
    59           path: build/sources/open62541
    49           path: build/sources/open62541
    60 
    50 
    61     - name: Touch expected Makfile targets to shortcut HG checkout
    51     - name: Keep Makfile satisfied and generate revisions.txt
    62       run: |
    52       run: |
    63         touch build/sources/beremiz_${{ env.beremiz_revisionid }}
    53         touch build/sources/beremiz_stamp
    64         touch build/sources/matiec_${{ env.matiec_revisionid }}
    54         touch build/sources/matiec_stamp
    65         touch build/sources/canfestival_${{ env.canfestival_revisionid }}
    55         touch build/sources/canfestival_stamp
    66         touch build/sources/Modbus_${{ env.Modbus_revisionid }}
    56         touch build/sources/Modbus_stamp
    67         touch build/sources/open62541_${{ env.open62541_revisionid }}
    57         touch build/sources/open62541_stamp
    68         touch build/sources/beremiz_src
    58         touch build/sources/beremiz_src
    69         touch build/sources/matiec_src
    59         touch build/sources/matiec_src
    70         touch build/sources/canfestival_src
    60         touch build/sources/canfestival_src
    71         touch build/sources/Modbus_src
    61         touch build/sources/Modbus_src
    72         touch build/sources/open62541_src
    62         touch build/sources/open62541_src