mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 10:35:42 +01:00
Update build.yml
This commit is contained in:
parent
83650a0977
commit
c41d307f15
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
- uses: s4u/maven-settings-action@v2
|
||||
- uses: s4u/maven-settings-action@v2.1.0
|
||||
name: Use ${{ matrix.java }} as the java target
|
||||
with:
|
||||
properties: '[{"maven.compiler.target": "${{ matrix.java }}"}]'
|
||||
@ -61,9 +61,9 @@ jobs:
|
||||
run: |
|
||||
./yapfa full
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@2.1.0
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: YAPFA-${{ matrix.java }} ${{ github.ref }}
|
||||
name: YAPFA-${{ matrix.java }}
|
||||
path: target/YAPFA-1.16.1-paperclip.jar
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
Loading…
Reference in New Issue
Block a user