diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml new file mode 100644 index 0000000..446b36a --- /dev/null +++ b/.github/workflows/release-github.yml @@ -0,0 +1,23 @@ +name: Github Release + +on: + push: + tags: + - 'v*.*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + target/*.jar + target/*-schemas.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/.github/workflows/release.yml b/.github/workflows/release-maven.yml similarity index 96% rename from .github/workflows/release.yml rename to .github/workflows/release-maven.yml index 840b896..f23c3fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release-maven.yml @@ -1,4 +1,4 @@ -name: Release +name: Maven Release on: push: