Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JLyne authored Jan 14, 2024
1 parent 11ae8a4 commit effcd69
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,28 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Run a one-line script
run: chmod +x gradlew

- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'temurin'

- name: Gradle Command
# You may pin to the exact commit or the version.
# uses: gradle/gradle-build-action@90ccf054e6b9905f30f98c938bce4c6acd323b6b
uses: gradle/gradle-build-action@v1.3.3
uses: gradle/gradle-build-action@v2
with:
arguments: build

- name: Run a one-line script
run: cp ProxyDiscordAPI/build/libs/*.jar build/libs;

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v4
with:
name: 'ProxyDiscord'
path: 'build/libs/'
Expand Down

0 comments on commit effcd69

Please sign in to comment.