diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index dfff7d302..bb94ea60b 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,14 +1,14 @@ --- -name: "pre-release" +name: "tagged-release" on: push: - branches: - - "main" + tags: + - "v*" jobs: - pre-release: - name: "Pre Release" + tagged-release: + name: "Tagged Release" runs-on: "ubuntu-latest" steps: @@ -20,9 +20,7 @@ jobs: - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" - prerelease: true - title: "Development Build" + prerelease: false files: | LICENSE.txt *.jar