Skip to content

Commit

Permalink
ci: fix oasdiff.yml 3
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed May 1, 2024
1 parent b16066d commit 661e8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/oasdiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
elif [[ $REV_TAG == 'main' ]]; then
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$REV_TAG/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ ${{ github.event_name }} == 'pull_request' ]]; then
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
BRANCH_NAME=${{ github.head_ref || github.ref_name }}
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$BRANCH_NAME/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
fi
- name: Check URLS
run: |
echo "Base url: ${{ env.BASE_URL }}"
echo "Revision url: ${{ env.REV_URL}}"
echo "Revision url: ${{ env.REV_URL }}"
- name: Running OpenAPI Spec diff action
uses: oasdiff/oasdiff-action/breaking@main
Expand Down

0 comments on commit 661e8a2

Please sign in to comment.