GH CI : adapt to workflow syntax restrictions
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 28 Jul 2022 17:20:59 +0200
changeset 76 1ed6c9812863
parent 75 880a5e48084a
child 77 2f3d1cd0bd64
GH CI : adapt to workflow syntax restrictions
.github/workflows/prep_sources.yml
--- a/.github/workflows/prep_sources.yml	Thu Jul 28 17:10:13 2022 +0200
+++ b/.github/workflows/prep_sources.yml	Thu Jul 28 17:20:59 2022 +0200
@@ -1,24 +1,25 @@
 name: Prepare sources
 
-env:
-    beremiz_revisionid: c3847f87bde2d520b856e353498cb2bad9d83911
-    matiec_revisionid: ba00e2b18e7335c03c011e1c6b2a5d99fc3571c3
-    canfestival_revisionid: 12a05e422666c738d1312259703f80150c747cb5
-
 on:
   workflow_call:
     outputs:
       beremiz_revisionid:
-        value: ${{ env.beremiz_revisionid }}
+        value: ${{ jobs.get_sources.env.beremiz_revisionid }}
       matiec_revisionid:
-        value: ${{ env.matiec_revisionid }}
+        value: ${{ jobs.get_sources.env.matiec_revisionid }}
       canfestival_revisionid:
-        value: ${{ env.canfestival_revisionid }}
+        value: ${{ jobs.get_sources.env.canfestival_revisionid }}
 
 jobs:
   get_sources:
     runs-on: ubuntu-latest
 
+    env:
+        beremiz_revisionid: c3847f87bde2d520b856e353498cb2bad9d83911
+        matiec_revisionid: ba00e2b18e7335c03c011e1c6b2a5d99fc3571c3
+        canfestival_revisionid: 12a05e422666c738d1312259703f80150c747cb5
+
+
     steps:
     - uses: actions/checkout@v3
       with: