6262 fi
6363 else
6464 echo "Workflow triggered manually via workflow_dispatch."
65- VERSION="${{ github.event.inputs.version } }"
66- RC="${{ github.event.inputs.rc } }"
65+ VERSION="${GITHUB_EVENT_INPUTS_VERSION }"
66+ RC="${GITHUB_EVENT_INPUTS_RC }"
6767
6868 # Validate version (e.g., 1.0.0)
6969 if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
@@ -81,27 +81,36 @@ jobs:
8181 # Export variables for future steps
8282 echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
8383 echo "RC=$RC" >> $GITHUB_OUTPUT
84+ env :
85+ GITHUB_EVENT_INPUTS_VERSION : ${{ github.event.inputs.version }}
86+ GITHUB_EVENT_INPUTS_RC : ${{ github.event.inputs.rc }}
8487
8588 - name : Display Extracted Version and RC
8689 run : |
87- echo "Using Version: ${{ steps.validate-inputs.outputs.VERSION }}"
88- echo "Using RC: ${{ steps.validate-inputs.outputs.RC }}"
90+ echo "Using Version: ${STEPS_VALIDATE_INPUTS_OUTPUTS_VERSION}"
91+ echo "Using RC: ${STEPS_VALIDATE_INPUTS_OUTPUTS_RC}"
92+ env :
93+ STEPS_VALIDATE_INPUTS_OUTPUTS_VERSION : ${{ steps.validate-inputs.outputs.VERSION }}
94+ STEPS_VALIDATE_INPUTS_OUTPUTS_RC : ${{ steps.validate-inputs.outputs.RC }}
8995
9096 validate-library-version :
9197 runs-on : ubuntu-latest
9298 needs :
9399 - validate-inputs
94100 steps :
95- - uses : actions/checkout@v6
101+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
96102 with :
97103 fetch-depth : 1
104+ persist-credentials : false
98105
99- - uses : actions/setup-python@v6
106+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
100107 with :
101108 python-version : 3.12
102109
103110 - name : Install UV
104111 uses : astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098
112+ with :
113+ enable-cache : false
105114
106115 - name : Validate current pyiceberg version
107116 env :
0 commit comments