-
Notifications
You must be signed in to change notification settings - Fork 23
44 lines (35 loc) · 1.12 KB
/
release.yml
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
# This workflow will build a Java project with Gradle, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Release
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-graalvm@v1
with:
java-version: '17'
distribution: 'graalvm'
cache: 'gradle'
- name: Build with 1JPM
run: java ./src/main/java/JPM.java
- name: Show files.
run: |
echo Showing current directory:
ls
echo Showing ./build directory:
ls ./build
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Release"
files: |
./build/*.tar.gz
./build/*.zip
./build/*.jar
./build/libs/*.exe