Skip to content

Commit

Permalink
Merge pull request #8 from Pixel-gaming/gradle-wrapper-validation-and…
Browse files Browse the repository at this point in the history
…-setup-caching

Add more gradle security
  • Loading branch information
C0D3-M4513R authored Nov 14, 2023
2 parents 865b0ab + 0928a1d commit 8fc85ef
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
push:
branches:
- '*'
#todo: not sure if tags for ketting should be built.
# it might be better to just build all commits to the main branch
# and automatically push a tag and release.
tags:
- '*'
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -48,6 +43,10 @@ jobs:
key: project-src-cache-${{ hashFiles('patches') }}
restore-keys: |
project-src-cache-
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Setup Ketting
id: setup
run: ./gradlew setup
Expand Down

0 comments on commit 8fc85ef

Please sign in to comment.