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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build -x test
|
run: ./gradlew build -x test
|
||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: FoliaFlow-${{ env.version }}-${{ github.sha }}
|
name: FoliaFlow-${{ env.version }}-${{ github.sha }}
|
||||||
path: build/libs/FoliaFlow-${{ env.version }}.jar
|
path: build/libs/FoliaFlow-${{ env.version }}.jar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue