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:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up JDK 11
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
distribution: 'temurin' # AdoptOpenJDK wurde zu Eclipse Temurin
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
||||
|
@ -38,6 +38,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./target/your-artifact.jar
|
||||
asset_name: your-artifact.jar
|
||||
asset_path: ./target/ExtremeDemonList-0.0.1-SNAPSHOT.jar
|
||||
asset_name: ExtremeDemonList-0.0.1-SNAPSHOT.jar
|
||||
asset_content_type: application/java-archive
|
||||
|
|
Loading…
Reference in a new issue