Skip to content

Commit

Permalink
Fixed artifact publishing after updating to AGP 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanMcKee committed Sep 3, 2023
1 parent 8ee078e commit fe4e80d
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ jobs:
mergeDetektSarif
:plugins:buildPlugins
--continue
- name: Check publication setup
run: >
./gradlew
publishAllPublicationsToOSSRHRepository
publishAllPublicationsToSonatypeSnapshotRepository
--dry-run
--no-parallel
- name: Deploy snapshot
if: env.MAIN_BRANCH == 'true' && github.repository == 'bumble-tech/appyx'
env:
Expand Down Expand Up @@ -72,6 +65,29 @@ jobs:
**/build/reports/
!**/build/reports/dependency-analysis/
publication-verification:
name: Publication verification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ env.MAIN_BRANCH != 'true' }}
- name: Check publication setup
run: >
./gradlew
publishAllPublicationsToOSSRHRepository
publishAllPublicationsToSonatypeSnapshotRepository
--dry-run
--no-parallel
- name: Publish locally
run: ./gradlew publishToMavenLocal --no-parallel

instrumentation-tests:
name: Instrumentation tests
runs-on: macOS-latest
Expand Down

0 comments on commit fe4e80d

Please sign in to comment.