Skip to content

Commit

Permalink
Bump github workflow action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
booky10 committed Sep 27, 2024
1 parent 6243751 commit 11459bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v4

- name: Setup java 17
uses: actions/setup-java@v3
- name: Setup java 21
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: temurin
cache: gradle

- name: Build plugin
run: ./gradlew build --no-daemon -PgithubUsername=${{ secrets.PUBLISH_USERNAME }} -PgithubPassword=${{ secrets.PUBLISH_PASSWORD }}
run: ./gradlew build --no-daemon

- name: Upload plugin jars
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: CraftAttack-Artifacts
path: build/libs/CraftAttack-*
Expand Down

0 comments on commit 11459bd

Please sign in to comment.