Skip to content

Commit

Permalink
fix: use gradle/actions/setup-gradle@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
satsukies committed Oct 8, 2024
1 parent 51af8c5 commit 1c974d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ jobs:
else
git push origin gh-pages
fi
fi
fi
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
java-package: jdk
distribution: 'temurin'
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
- run: RELEASE_VERSION="${GITHUB_REF#refs/tags/}" ./gradlew verifyReleaseVersion
- name: Set up gradle.properties for sigining and nexus
# Add timeout setting due to https://github.com/DeployGate/gradle-deploygate-plugin/runs/2523846388
Expand All @@ -41,4 +42,4 @@ jobs:
env:
SLACK_TITLE: 'Android SDK Release'
SLACK_MESSAGE: "${{ github.ref }} has been published to Sonatype. ref: https://oss.sonatype.org/"
SLACK_WEBHOOK: ${{ secrets.SHARED_FOR_RELEASE_ARTIFACT_SLACK_INCOMING_WEBHOOK_URL }}
SLACK_WEBHOOK: ${{ secrets.SHARED_FOR_RELEASE_ARTIFACT_SLACK_INCOMING_WEBHOOK_URL }}
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
java-package: jdk
distribution: 'temurin'
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
- name: Check sdk publications
run: ./scripts/verify-publications.bash sdk
- name: Check sdk-mock publications
Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
java-package: jdk
distribution: 'temurin'
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew sample:bundleDevrealDebug sample:bundleDevrealRelease sample:bundleDevmockDebug sample:bundleDevmockRelease
- name: upload aab files
run: |
Expand Down Expand Up @@ -89,6 +91,7 @@ jobs:
java-package: jdk
distribution: 'temurin'
cache: 'gradle'
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew sample:bundleStablerealDistribute sample:bundleStablemockDistribute
- name: upload aab files
run: |
Expand All @@ -101,4 +104,4 @@ jobs:
-H 'Authorization: token ${{ secrets.SHARED_DEPLOYGATE_API_TOKEN_FOR_PUBLIC_REPO }}' \
--url 'https://deploygate.com/api/users/${{ secrets.SHARED_DEPLOYGATE_APP_OWNER_NAME_FOR_PUBLIC_REPO }}/apps' | \
jq -r '"\(.results.package_name) \(.results.distribution.url)"'
done < <(find ./sample/build/outputs/bundle -name "*.aab")
done < <(find ./sample/build/outputs/bundle -name "*.aab")

0 comments on commit 1c974d0

Please sign in to comment.