Update build.yml
This commit is contained in:
parent
1f26c62b31
commit
d83991f028
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -8,9 +8,9 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- name: Build with Gradle
|
||||
run: ./gradlew build -x test
|
||||
- name: Publish artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: FoliaFlow-${{ env.version }}-${{ github.sha }}
|
||||
path: build/libs/FoliaFlow-${{ env.version }}.jar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue