Closed stefaang closed 3 years ago
@stefaang,
Try this code snippet perhaps : pkgs=$(git log -1 --name-only | grep ^wdpk | cut -d/ -f2 | uniq || error=true)
Also would you need a loop in "make_apkg" section to loop through the list of packages to update ?
Cheers,
JediNite
Try this code snippet perhaps : pkgs=$(git log -1 --name-only | grep ^wdpk | cut -d/ -f2 | uniq || error=true)
I believe the problem is that it's not a valid git repo due to the mounts.. which is why I'm trying it via the diff file now. I'm running act locally, but it seems to behave a bit differently.
Also would you need a loop in "make_apkg" section to loop through the list of packages to update ?
Myeah I think indeed it should become multiple packages eventually. But there's challenges with multi line variables in these GH actions, so I'm keeping that for later.
Meh... that act
repo lacks a lot of features, especially as I can't run the latest version via brew yet on Big Sur.
The git repo in the actions also only contains a single commit with the complete repo, so history/logs are useless.
Anyway... I'm glad it's finally working here :)
Now I just want to add an upload step when pushing a tag.
As OS5 is public now, it's a good time to migrate.
This PR also includes a PoC to build packages with github actions.