From 5268b39fe3d4e71892018818de8bffee5ef7f8a3 Mon Sep 17 00:00:00 2001 From: Jaroslav Brtis Date: Mon, 6 May 2024 18:06:12 -0400 Subject: [PATCH] Removed previous tests to rull-out test interference. --- .github/workflows/test-current-branch.yml | 52 ----------------------- 1 file changed, 52 deletions(-) diff --git a/.github/workflows/test-current-branch.yml b/.github/workflows/test-current-branch.yml index a473505..12e3ce1 100644 --- a/.github/workflows/test-current-branch.yml +++ b/.github/workflows/test-current-branch.yml @@ -41,58 +41,6 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - - name: Run action (non-branch version - should change automatically) - id: run-action-non-branch-version - uses: maven-flow/manage-versions@main - env: - USER: ${{ secrets.USER }} - TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }} - with: - enforce-branch-version: true - maven-args: "-P github -s ${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml" - pom-file: "non-branch-version-pom.xml" - - - name: Assert version changed - run: .github/workflows/assert-project-version.sh non-branch-version-pom.xml 1.1.0-rc.0-bugfix-BUG-458-SNAPSHOT - - - name: Assert output parameters - run: | - if [[ "${{ steps.run-action-non-branch-version.outputs.changes-made }}" = "true" ]]; then - echo "Output changes-made has correct value." - else - echo "ERROR: Output changes-made has incorrect value." - exit 1 - fi - - - name: Run action (branch version) - id: run-action-branch-version - uses: maven-flow/manage-versions@main - env: - USER: ${{ secrets.USER }} - TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }} - with: - enforce-branch-version: true - maven-args: "-P github -s ${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml" - pom-file: "branch-version-pom.xml" - - - name: Assert version unchanged - run: .github/workflows/assert-project-version.sh branch-version-pom.xml 1.1.0-rc.0-BUG-458-SNAPSHOT - - - name: Assert dependency version unchanged - run: .github/workflows/assert-dependency-version.sh branch-version-pom.xml com.jardoapps.maven-flow dummy-dependency 1.1.0-rc.0-BUG-458-SNAPSHOT - - - name: Assert output parameters - run: | - if [[ "${{ steps.run-action-branch-version.outputs.changes-made }}" = "false" ]]; then - echo "Output changes-made has correct value." - else - echo "ERROR: Output changes-made has incorrect value." - exit 1 - fi - - - name: Revert changes - run: git restore . - - name: Run action (non-branch version, do not enforce) id: run-action-non-branch-version-do-not-enforce uses: maven-flow/manage-versions@main