Skip to content

Commit

Permalink
Merge pull request #8 from heureka/feature-merch-2606
Browse files Browse the repository at this point in the history
Updated workflow uses' versions & added configuration
  • Loading branch information
szalain-ak authored Mar 4, 2024
2 parents c951661 + 712d920 commit f90dacd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
updateSwagger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get Latest Swagger UI Release
id: swagger-ui
run: |
Expand Down Expand Up @@ -36,10 +36,12 @@ jobs:
sed -i "s|href=\"./|href=\"dist/|g" index.html
sed -i "s|src=\"./|src=\"dist/|g" index.html
sed -i "s|href=\"index|href=\"dist/index|g" index.html
# Add configurations
sed -i "s|deepLinking: true,|deepLinking: true,\r\n supportedSubmitMethods: [],|g" dist/swagger-initializer.js
# Update current release
echo ${{ steps.swagger-ui.outputs.release_tag }} > swagger-ui.version
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update swagger-ui to ${{ steps.swagger-ui.outputs.release_tag }}
title: Update SwaggerUI to ${{ steps.swagger-ui.outputs.release_tag }}
Expand Down

0 comments on commit f90dacd

Please sign in to comment.