the_vault-tweaks/.github/workflows/create-release.yaml
dependabot[bot] 56c50c21f3
Bump gradle/gradle-build-action from 2 to 3
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 09:15:58 +00:00

31 lines
691 B
YAML

name: Create release on tag push
on:
push:
tags:
- 'release/*'
jobs:
build:
name: Build the_vault-tweaks
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run build with Gradle Wrapper
run: chmod +x ./gradlew && ./gradlew build
- name: Draft release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.RELEASE_TOKEN }}
artifacts: "build/libs/the_vault-tweaks-1.18.2-*.jar"
bodyFile: "CHANGELOG.md"
draft: true