Skip to content

前提pluginを明記+余分なAPIを削除 #3

前提pluginを明記+余分なAPIを削除

前提pluginを明記+余分なAPIを削除 #3

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
# ビルドとリリースまでの処理
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup JDK #JDKセットアップ
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '16'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Collect Releases #リリースしたものを収集
run: |
mkdir release
cp target/*.jar release/
- name: Upload Artifact #アーティファクトをアップロード
uses: actions/upload-artifact@v3
with:
name: releases
path: release/*
- name: ${{ github.ref_name }}リリース #GiHubにリリース
uses: softprops/action-gh-release@v1
with:
files: release/*