Update build.yml

This commit is contained in:
budgidiere 2020-07-18 12:45:04 -05:00 committed by GitHub
parent 83650a0977
commit c41d307f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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