the_vault-tweaks/.github/workflows/create-release.yaml
dependabot[bot] 318848c220
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 09:28:48 +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@v2
- 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