We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5124cf commit 2a3989fCopy full SHA for 2a3989f
.github/workflows/update-antora-ui-spring.yml
@@ -33,12 +33,11 @@ jobs:
33
shell: bash
34
env:
35
GH_TOKEN: ${{ secrets.token }}
36
- - name: Replace Version
37
- uses: mikefarah/[email protected]
+ - name: Replace Current with Latest
38
id: replace
39
if: ${{ steps.current.outputs.result != steps.latest.outputs.latest_ui_bundle_url }}
40
- with:
41
- cmd: yq -i '.ui.bundle.url = "${{ steps.latest.outputs.latest_ui_bundle_url }}"' antora-playbook.yml
+ run: |
+ sed -i '' -e 's@${{ steps.current.outputs.result }}@${{ steps.latest.outputs.latest_ui_bundle_url }}@g' antora-playbook.yml
42
- name: Create Pull Request
43
uses: peter-evans/create-pull-request@v6
44
with:
0 commit comments