Skip to content

Commit

Permalink
Test WireMock Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
holomekc committed Dec 30, 2023
1 parent 842161a commit 96dd49e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/wiremock-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ jobs:
echo "wiremockVersion=${wiremockVersion}" >> $GITHUB_OUTPUT
echo "Found wiremockVersion=${wiremockVersion}"
gh release list --exclude-drafts --exclude-pre-releases --repo holomekc/wiremock | grep "Latest"
guiVersion=$(gh release list --exclude-drafts --exclude-pre-releases --repo holomekc/wiremock | grep "Latest" | awk '{print $1}')
echo "guiVersion=${guiVersion}" >> $GITHUB_OUTPUT
echo "Found guiVersion=${guiVersion}"
echo "Checking if WireMock version > WireMock-Gui version."
echo "${wiremockVersion} > ${guiVersion}"
echo "Checking if WireMock version != WireMock-Gui version."
echo "${wiremockVersion} != ${guiVersion}"
[[ guiVersion = ${wiremockVersion}* ]] && echo "Start with $wiremockVersion" || echo "Not matched"

0 comments on commit 96dd49e

Please sign in to comment.