HexCasting/.github/workflows/publish.yml

26 lines
554 B
YAML
Raw Normal View History

2022-02-05 19:38:38 +01:00
name: Publish tag
on:
2022-02-05 23:40:00 +01:00
push:
tags:
- 'v*'
2022-02-05 19:38:38 +01:00
jobs:
build:
runs-on: ubuntu-latest
env:
TAG_NAME: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Release
uses: softprops/action-gh-release@v1
with:
files: build/libs/*