Skip to content

Commit

Permalink
Merge pull request #189 from oddstr13/pr-fix-188-1
Browse files Browse the repository at this point in the history
`sudo rm -rf **/EXTERNALLY-MANAGED`
  • Loading branch information
oddstr13 authored Oct 16, 2024
2 parents e1b7c4a + 52f6c8c commit 651fc28
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ runs:
- name: Setup JRPM Deps
shell: bash
run: |-
# PEP 668 can burn.
rm -f /usr/lib/python*/EXTERNALLY-MANAGED
python3 -m pip config set global.break-system-packages true
python3 -m pip install -r ${{ github.action_path }}/requirements.txt
echo "::endgroup::"
Expand All @@ -61,21 +65,21 @@ runs:
shell: bash
run: |-
echo "::group::Building and Packaging"
if [[ -n "${{ inputs.dotnet-target }}" ]]; then
DOTNET_FRAMEWORK="--dotnet-framework ${{ inputs.dotnet-target }}"
else
DOTNET_FRAMEWORK=""
fi
if [[ -n "${{ inputs.version }}" ]]; then
PLUGIN_VERSION="-v ${{ inputs.version }}"
else
PLUGIN_VERSION=""
fi
artifact="$(python3 ${{ github.action_path }}/jprm/__init__.py --verbosity=${{ inputs.verbosity }} plugin build ${{ inputs.path }} -o ${{ inputs.output }} ${PLUGIN_VERSION} --dotnet-configuration ${{ inputs.dotnet-config }} --max-cpu-count ${{ inputs.max-cpu-count }} ${DOTNET_FRAMEWORK})"
echo "Artifact: ${artifact}"
echo "artifact=${artifact}" >> $GITHUB_OUTPUT
echo "::endgroup::"

0 comments on commit 651fc28

Please sign in to comment.