From a185bae8c895b313d068214a6c8fe4c1843c8658 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 13 Sep 2024 17:22:42 +0100 Subject: [PATCH] chore: use updated pactflow v2 actions --- .github/workflows/build-test-cross.yml | 8 ++++---- .github/workflows/build-test-package.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test-cross.yml b/.github/workflows/build-test-cross.yml index 873bc8d..6bb2ddb 100644 --- a/.github/workflows/build-test-cross.yml +++ b/.github/workflows/build-test-cross.yml @@ -123,7 +123,7 @@ jobs: useConfigFile: true configFilePath: ./.github/gitversion.yml - - uses: pactflow/actions/can-i-deploy@auto_detect_version_branch + - uses: pactflow/actions/can-i-deploy@v2 with: to_environment: production application_name: explore-cli @@ -140,9 +140,9 @@ jobs: file_glob: true tag: ${{ steps.gitversion.outputs.MajorMinorPatch }} - - uses: pactflow/actions/record-release@auto_detect_version_branch + - uses: pactflow/actions/record-release@v2 with: environment: production application_name: explore-cli - PACT_BROKER_BASE_URL: ${{ secrets.PACT_BROKER_BASE_URL }} - PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }} \ No newline at end of file + broker_url: ${{ secrets.PACT_BROKER_BASE_URL }} + token: ${{ secrets.PACT_BROKER_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 011ff3e..8b55b0d 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -65,13 +65,13 @@ jobs: dotnet test working-directory: test/Explore.Cli.Tests - - uses: pactflow/actions/publish-pact-files@auto_detect_version_branch + - uses: pactflow/actions/publish-pact-files@v2 with: pactfiles: test/Explore.Cli.Tests/pacts broker_url: ${{ secrets.PACT_BROKER_BASE_URL }} token: ${{ secrets.PACT_BROKER_TOKEN }} - - uses: pactflow/actions/can-i-deploy@auto_detect_version_branch + - uses: pactflow/actions/can-i-deploy@v2 with: to_environment: production application_name: explore-cli