Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
(cherry picked from commit 7baab93)
  • Loading branch information
arnokeesman committed May 30, 2024
1 parent 3e740e9 commit 260e6fa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Magnet-Command-${{ github.run_number }}
path: build/libs/

0 comments on commit 260e6fa

Please sign in to comment.