Skip to content

Commit

Permalink
chore: use updated pactflow v2 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Sep 13, 2024
1 parent 56f9e47 commit a185bae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
broker_url: ${{ secrets.PACT_BROKER_BASE_URL }}
token: ${{ secrets.PACT_BROKER_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a185bae

Please sign in to comment.