Skip to content

chore: bump version #34

chore: bump version

chore: bump version #34

Workflow file for this run

name: publish
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build and generate javadoc
run: |
./gradlew build
./gradlew javadoc
- name: Create hash
uses: BlueZeeKing/fabric-mod-hash@v1.1
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
./build/libs/factions-mc*.*.*-*.*.*[0-9].jar
./*.sha512
draft: true
- name: Deploy javadoc
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: build/docs/javadoc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}