diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 432cfa3..e880140 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,23 +1,7 @@ -name: release +name: "Auto Release" on: push: branches: [ master, main ] jobs: release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: fabasoad/data-format-converter-action@main - id: xml2json - with: - input: 'Config/module.xml' - from: 'xml' - to: 'json' - - name: Print result - run: echo "${{ fromJSON(steps.xml2json.outputs.output).module.version }}" - - name: Create Release - uses: ncipollo/release-action@v1.12.0 - with: - tag: ${{ fromJSON(steps.xml2json.outputs.output).module.version }} - skipIfReleaseExists: true - + uses: thelia-modules/ReusableWorkflow/.github/workflows/auto_release.yml@main