mysterious-waiter-14207
08/07/2024, 3:45 AMpantsbuild
repository. It seems that is not possible with the new scie-pants
. Any other way to achieve that?broad-processor-92400
08/07/2024, 5:59 AMPANTS_SHA
to work quite a while ago, so it doesn't work on any recent commits. Hence we phased out support from scie-pants
(deprecated in 0.10.0, removed in 0.11.0).
What are you using it for?
Some options are:
1. stick to the pants
script or scie-pants
0.9.3 and continue using PANTS_SHA
2. use PANTS_SOURCE
instead, pointing to a checkout of the Pants repo appropriate commit (works with newer commits too, but requires building pants)mysterious-waiter-14207
08/07/2024, 7:08 AMmysterious-waiter-14207
08/07/2024, 7:08 AMmysterious-waiter-14207
08/07/2024, 7:09 AMhappy-kitchen-89482
08/07/2024, 3:08 PMhappy-kitchen-89482
08/07/2024, 3:17 PMmysterious-waiter-14207
08/07/2024, 7:02 PMhappy-kitchen-89482
08/07/2024, 7:56 PMhappy-kitchen-89482
08/07/2024, 8:40 PMhappy-kitchen-89482
08/07/2024, 8:40 PMhappy-kitchen-89482
08/08/2024, 3:29 PMhappy-kitchen-89482
08/08/2024, 5:08 PMmysterious-waiter-14207
08/09/2024, 1:33 PMname: Allow running pants from source
description: |
Checkout pants and run from source
inputs:
enable:
required: false
default: 'false'
repository:
required: false
default: 'pantsbuild/pants'
ref:
required: false
default: 'main'
path:
required: false
default: './.pants-source'
runs:
using: "composite"
steps:
- shell: bash
if: ${{ inputs.enable == 'true' }}
run: sudo apt-get install protobuf-compiler
- uses: actions/checkout@v4
if: ${{ inputs.enable == 'true' }}
with:
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
path: ${{ inputs.path }}
- name: Tell pants to use from source
if: ${{ inputs.enable == 'true' }}
shell: bash
run: |
echo "PANTS_SOURCE=${{ inputs.path }}" >> ${GITHUB_ENV}