Ilya,

Am 20.11.20 um 12:32 schrieb Илья Шипицин:
> if you mean the following part
> 
> ---------<------------>---------
> Within the matrix.py script it can now be detected whether the workflow is
> running on schedule by using:
> 
>     if build_type == "schedule":
>         matrix.append(...)
> ---------------<------------->----------------
> 
> 
> yes, I wonder how it is supposed to work.
> first, GH actions is supposed to run matrix.py in order to generate some
> scheduled jobs.

It's simple, this part of the patch is responsible for that:

-        run: python3 .github/matrix.py
+        run: python3 .github/matrix.py "${{ github.event_name }}"

I just specify the event_name as the command line parameter to the
script and then read the command line parameter and store it in the
build_type variable :-)

> I miss some documentation on that. I'll try to find myself (it should be
> documented I hope)
> 

Best regards
Tim Düsterhus

Reply via email to