Skip to content

Commit

Permalink
Added missing checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Aug 14, 2023
1 parent 4ffe60a commit 06265b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:
timeout-minutes: 30

steps:
- name: "Checkout repository"
uses: actions/[email protected]
with:
fetch-depth: 0

- name: "Setup environment"
uses: ./.github/templates/setup-environment.yml

Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,11 @@ jobs:
steps:
- name: "Checkout repository"
uses: actions/[email protected]

- name: "Set up JDK"
uses: actions/[email protected]
with:
distribution: "temurin"
java-version: 17

- name: "Initialize caches"
uses: actions/[email protected]
with:
path: |
~/.gradle/caches
~/.gradle/loom-cache
~/.gradle/wrapper
key: ${{ runner.os }}-build-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-
fetch-depth: 0

- name: "Setup environment"
uses: ./.github/templates/setup-environment.yml

- name: "Build with gradle"
run: ./gradlew build
Expand Down

0 comments on commit 06265b1

Please sign in to comment.