Skip to content

Commit

Permalink
add index support
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG authored and aparcar committed Feb 15, 2023
1 parent 51a4539 commit 74b0fee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ The action reads a few env variables:
`action`.
* `IGNORE_ERRORS` can ignore failing packages builds.
* `KEY_BUILD` can be a private Signify/`usign` key to sign the packages feed.
* `INDEX` makes the action build the package index. Default is 0. Set to 1 to enable.
* `NO_DEFAULT_FEEDS` disable adding the default SDK feeds
* `NO_REFRESH_CHECK` disable check if patches need a refresh.
* `NO_SHFMT_CHECK` disable check if init files are formated
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ runs:
--env NO_REFRESH_CHECK \
--env NO_SHFMT_CHECK \
--env PACKAGES \
--env INDEX \
--env V \
-v ${{ steps.inputs.outputs.artifacts_dir }}:/artifacts \
-v ${{ steps.inputs.outputs.feed_dir }}:/feed \
Expand Down
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ else
done
fi

if [ "$INDEX" = '1' ];then
make package/index
fi

if [ -d bin/ ]; then
mv bin/ /artifacts/
fi
Expand Down

0 comments on commit 74b0fee

Please sign in to comment.