-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: compile errors * chore: run a build in PRs * chore: rename CI action for PRs * fix: compile error in FisherMachine * chore: suppress deprecation warnings for processing array in GTMachines * chore: revert previous commit as it didn't seem to change anything... * chore: store PR build output artifacts
- Loading branch information
Showing
3 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: build-on-push | ||
|
||
on: | ||
pull_request: | ||
paths: ['src/**', '**.gradle', 'gradle.properties', 'gradlew**', 'gradle/**'] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_ACTION_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }} | ||
GITHUB_RUN_NUMBER: ${{ vars.GITHUB_RUN_NUMBER }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build | ||
uses: gradle/[email protected] | ||
with: | ||
arguments: build | ||
|
||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: build output | ||
path: build/libs/* | ||
retention-days: 30 |
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
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