Skip to content

Commit

Permalink
Merge pull request #97 from isaqb-org/96-add-gradle-wrapper-verification
Browse files Browse the repository at this point in the history
Add Gradle Wrapper Verification
  • Loading branch information
programming-wolf authored Jan 12, 2021
2 parents 7f626d3 + 9bcd41b commit 08e81c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
uses: actions/checkout@v2
- name: Checkout Submodules
uses: textbook/git-checkout-submodule-action@master
- name: Set up JDK 11
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 14
- name: Execute Gradle Build
uses: eskatos/gradle-command-action@v1
with:
Expand All @@ -40,7 +42,7 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
- name: Create New Release
if: startsWith(github.ref, 'refs/tags/')
id: create_release
id: create-release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
Expand All @@ -64,9 +66,12 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: Publish Release ${{ env.RELEASE_VERSION }}
- name: Upload Release Files
if: startsWith(github.ref, 'refs/tags/')
id: upload-release-assets
uses: actions/github-script@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
uses: actions/checkout@v2
- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@master
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion document.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020.5-RC2
2020.5

0 comments on commit 08e81c2

Please sign in to comment.