Skip to content

Commit

Permalink
ci: Update action/checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Dec 8, 2023
1 parent a1d73bd commit b262677
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 23 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ on: [pull_request, push]

jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.

name: release
on:
release:
Expand All @@ -12,14 +7,11 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down Expand Up @@ -55,14 +47,11 @@ jobs:
deploy-mod:
name: Deploy Mod
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace
Expand Down

0 comments on commit b262677

Please sign in to comment.