Skip to content

Commit

Permalink
[Oztechan/CCC#3404] Move project to Setup Gradle Repo from Global repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed May 4, 2024
1 parent 11ab9dc commit e3da1ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 30 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,11 @@ jobs:
runs-on: macos-13

steps:
- name: Clone Repo
uses: actions/[email protected]

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: 'temurin'
- name: Setup Gradle Repo
uses: Oztechan/Global/actions/[email protected]

- name: Gradle Build
uses: gradle/actions/[email protected]
with:
arguments: build koverXmlReport --parallel
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
run: ./gradlew build koverXmlReport --parallel

- name: Upload to Codecov
uses: codecov/[email protected]
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,11 @@ jobs:
runs-on: macos-13

steps:
- name: Clone Repo
uses: actions/[email protected]
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: 'temurin'
- name: Setup Gradle Repo
uses: Oztechan/Global/actions/[email protected]

- name: Publish
uses: gradle/actions/[email protected]
with:
arguments: publish
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
run: ./gradlew publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
Expand Down

0 comments on commit e3da1ce

Please sign in to comment.