Update maven.yml
This commit is contained in:
parent
3f27377266
commit
78937962b4
1 changed files with 5 additions and 5 deletions
10
.github/workflows/maven.yml
vendored
10
.github/workflows/maven.yml
vendored
|
@ -12,11 +12,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '11'
|
java-version: '17'
|
||||||
distribution: 'adopt'
|
distribution: 'temurin' # AdoptOpenJDK wurde zu Eclipse Temurin
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn clean install
|
run: mvn clean install
|
||||||
|
@ -38,6 +38,6 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./target/your-artifact.jar
|
asset_path: ./target/ExtremeDemonList-0.0.1-SNAPSHOT.jar
|
||||||
asset_name: your-artifact.jar
|
asset_name: ExtremeDemonList-0.0.1-SNAPSHOT.jar
|
||||||
asset_content_type: application/java-archive
|
asset_content_type: application/java-archive
|
||||||
|
|
Loading…
Reference in a new issue