Skip to content

compare with file from main #6

compare with file from main

compare with file from main #6

Workflow file for this run

name: Check config.xml version
on:
push:
branches:
- 'feature/PLUG-155'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Compare version
run: |
[[ "v$(cat ./etc/config.xml | grep \<version\> | sed -e 's/<version>\(.*\)<\/version>/\1/' | tr -d '[:blank:]')" == curl -s https://raw.githubusercontent.com/TrueLayer/magento2/refs/heads/main/etc/config.xml | grep \<version\> | sed -e 's/<version>\(.*\)<\/version>/\1/' | tr -d '[:blank:]' ]]