Repository navigation
60 lines (54 loc) · 1.72 KB
/
Copy pathrelease.yml
File metadata and controls
60 lines (54 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Up Version
uses: eskatos/gradle-command-action@v1
with:
arguments: ${{ format('upVersion -Pnext={0}', github.event.inputs.version) }}
- name: Commit Version
uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
message: ${{ format('v{0}', github.event.inputs.version) }}
- name: Push Tag
uses: mathieudutour/[email protected]
id: tag_version
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ github.event.inputs.version }}
- name: Build All
uses: eskatos/gradle-command-action@v1
with:
arguments: buildAll
- name: Generate Changelog
id: changelog
uses: metcalfc/[email protected]
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: ${{ steps.changelog.outputs.changelog }}
tag_name: ${{ steps.tag_version.outputs.new_tag }}
draft: true
prerelease: false
files: |
modules/io.github.spair.imgui.app/build/libs/*.jar
modules/io.github.spair.imgui/build/libs/*.jar
modules/io.github.spair.imgui.lwjgl/build/libs/*.jar
bin/imgui-java64.dll
bin/libimgui-java64.dylib
bin/libimgui-java64.so