Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lopes-vincent authored Feb 13, 2023
1 parent 7776d44 commit 19f4daa
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 19f4daa

Please sign in to comment.