Skip to content

Commit

Permalink
Change deprecated action code
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Jul 2, 2024
1 parent f4eeeeb commit 99f4e49
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build Artifacts
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build --stacktrace -x test
gradle-home-cache-cleanup: true

- name: Build Project
run: ./gradlew build --stacktrace -x test

# test:
# needs: build
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
with:
fetch-depth: 0

- name: Publish with Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: publish -x test
gradle-home-cache-cleanup: true

- name: Publish Project
run: ./gradlew publish -x test
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build Artifacts
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build --stacktrace -x test
gradle-home-cache-cleanup: true

- name: Build Project
run: ./gradlew build --stacktrace -x test

publish:
needs: build
Expand All @@ -45,8 +45,8 @@ jobs:
with:
fetch-depth: 0

- name: Publish with Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: publish -x test
gradle-home-cache-cleanup: true

- name: Publish Project
run: ./gradlew publish -x test

0 comments on commit 99f4e49

Please sign in to comment.