parent
4e454cb047
commit
8430d3ef6d
4 changed files with 23 additions and 3 deletions
20
.forgejo/workflows/build.yml
Normal file
20
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: docker
|
||||||
|
container: debian:sid
|
||||||
|
steps:
|
||||||
|
- name: Prepare for installation
|
||||||
|
run: apt update
|
||||||
|
- name: Install JDK
|
||||||
|
run: apt install --no-install-recommends -y openjdk-21-jdk-headless maven git
|
||||||
|
|
||||||
|
- name: Clone repository
|
||||||
|
run: git clone https://git.m724.eu/Minecon724/realweather.git .
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: mvn clean package
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: https://github.com/actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
path: target/realweather-*.jar
|
|
@ -9,7 +9,7 @@ By default, it's signed with the test key.
|
||||||
|
|
||||||
#### Signing
|
#### Signing
|
||||||
A test (and default) keystore is provided:
|
A test (and default) keystore is provided:
|
||||||
- keystore: `testkeystore`
|
- keystore: `testkeystore.jks`
|
||||||
- storepass: `123456`
|
- storepass: `123456`
|
||||||
- alias: `testkey`
|
- alias: `testkey`
|
||||||
Override with `-Djarsigner.`
|
Override with `-Djarsigner.`
|
4
pom.xml
4
pom.xml
|
@ -7,8 +7,8 @@
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>21</maven.compiler.source>
|
<maven.compiler.source>21</maven.compiler.source>
|
||||||
<maven.compiler.target>21</maven.compiler.target>
|
<maven.compiler.target>21</maven.compiler.target>
|
||||||
<jarsigner.keystore>${project.basedir}/keystore.jks</jarsigner.keystore>
|
<jarsigner.keystore>${project.basedir}/testkeystore.jks</jarsigner.keystore>
|
||||||
<jarsigner.alias>mykey</jarsigner.alias>
|
<jarsigner.alias>testkey</jarsigner.alias>
|
||||||
<jarsigner.storepass>123456</jarsigner.storepass>
|
<jarsigner.storepass>123456</jarsigner.storepass>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
Loading…
Reference in a new issue