Removed redundant remapJar task, #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with Gradle | |
on: | |
push: | |
branches: '*' | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.gitignore' | |
- '.gitattributes' | |
- '.editorconfig' | |
pull_request: | |
branches: '*' | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.gitignore' | |
- '.gitattributes' | |
- '.editorconfig' | |
concurrency: | |
# Maximum of one running workflow per pull request on source branches. | |
# Cancel an old run if an action is re-run. | |
group: ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: "Build" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3.3.0 | |
- uses: gradle/wrapper-validation-action@v1.0.6 | |
- uses: actions/setup-java@v3.10.0 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- uses: actions/cache@v3.2.6 | |
with: | |
path: | | |
$HOME/.gradle/caches | |
$HOME/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-gradle- | |
- run: chmod +x ./gradlew | |
- run: ./gradlew --no-daemon build | |
- name: Upload Build Output | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: weave-artifacts | |
path: build/libs/ |