Skip to content

Commit

Permalink
chore: install pip from PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
kdoroszko-splunk committed Feb 14, 2024
1 parent 09f6679 commit 8fc5a71
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -639,16 +639,13 @@ jobs:
- name: Slim Package
id: slim
run: |
pip install semantic_version==2.6.0
pip install https://download.splunk.com/misc/packaging-toolkit/splunk-packaging-toolkit-1.0.1.tar.gz
pip install splunk-packaging-toolkit
INPUT_SOURCE=${{ steps.uccgen.outputs.OUTPUT }}
SOURCE_REGEX='^.*/$'
if [[ $INPUT_SOURCE =~ $SOURCE_REGEX ]];then
echo Removing trailing / from INPUT_SOURCE slim is picky
INPUT_SOURCE=$(echo $INPUT_SOURCE | sed 's/\(.*\)\//\1/')
fi
slim generate-manifest "${INPUT_SOURCE}" --update >/tmp/app.manifest || true
cp /tmp/app.manifest "${INPUT_SOURCE}/app.manifest"
mkdir -p build/package/splunkbase
slim package -o build/package/splunkbase "${INPUT_SOURCE}"
for f in build/package/splunkbase/*.tar.gz; do
Expand Down

0 comments on commit 8fc5a71

Please sign in to comment.