forked from BrokenRegistry/Rotp-Fusion
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 882 Bytes
/
release.yml
File metadata and controls
30 lines (25 loc) · 882 Bytes
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
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Maven release
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Install vorbis-tools / oggenc
run: sudo apt install vorbis-tools
- name: Install webp / cwebp
run: sudo apt install webp
- name: Check CPU
run: sudo cat /proc/cpuinfo
- name: Build with Maven
run: mvn -B clean package github-release:github-release -DGITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} -Dmaven.javadoc.skip=true --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}