diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 837d2185..b4b86c5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,6 @@ jobs: name: Deploy release environment: staging env: - RUN_PYTHON_BIN: ${{ vars.RUN_PYTHON_BIN }} # only trigger the workflow on the base repository and if the merged branch name starts with release. if: (github.repository_owner == 'RHEcosystemAppEng' && startsWith(github.head_ref, 'release/')) || (github.repository_owner == 'RHEcosystemAppEng' && github.ref_name == 'main' && contains(github.event.commits[0].message, 'release/directly')) outputs: @@ -40,17 +39,6 @@ jobs: java-version: 11 cache: maven - - name: setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - cache: 'pip' - - name: get Python location - id: python-location - run: | - echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT - - - name: create ssh agent uses: webfactory/ssh-agent@v0.7.0 with: @@ -73,8 +61,6 @@ jobs: mvn release:perform -B -ff -DskipTests -Dskip.junit_platform=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - EXHORT_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3" - EXHORT_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3" - name: Get pom version of released artifact id: project diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index e8700815..99b7eb4c 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -30,16 +30,6 @@ jobs: java-version: 11 cache: maven - - name: setup Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - cache: 'pip' - - name: get Python location - id: python-location - run: | - echo "python-bin-location=$(echo $pythonLocation)/bin" >> $GITHUB_OUTPUT - - name: Get pom specs id: project run: | @@ -51,8 +41,6 @@ jobs: github.repository == 'RHEcosystemAppEng/exhort-java-api' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - EXHORT_PYTHON3_PATH: "${{steps.python-location.outputs.python-bin-location}}/python3" - EXHORT_PIP3_PATH: "${{steps.python-location.outputs.python-bin-location}}/pip3" run: mvn deploy -Pprepare-deployment,deploy-github -B -ff -DskipTests=true -Dskip.junit_platform=true release: