Support configuration variables (#43)

related to: https://gitea.com/gitea/act_runner/issues/127

This PR make `act` support the expression like `${{ vars.YOUR_CUSTOM_VARIABLES }}`.

Reviewed-on: https://gitea.com/gitea/act/pulls/43
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: sillyguodong <[email protected]>
Co-committed-by: sillyguodong <[email protected]>
This commit is contained in:
sillyguodong authored and Jason Song committed 2023-04-19 15:22:56 +08:00
1 parent d3a56cdb69
commit de529139af
5 files changed
+15

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ func NewInterpeter(
Matrix: matrix,
Needs: using,
Inputs: nil, // not supported yet
Vars: nil,
}
config := exprparser.Config{