Skip to content

Commit

Permalink
Generate signed build artifacts for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Jul 17, 2024
1 parent 33427d5 commit ebab3d1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,17 @@ jobs:
Copy-Item secring.gpg components/http/okHttp/ -Verbose
shell: pwsh
working-directory: ./
- name: Build with Gradle
run: ./gradlew --no-daemon build
- name: Build & Sign package with Gradle
run: ./gradlew --no-daemon signMavenPublication
working-directory: ./
- name: Upload a Build Artifact # Test generated artifacts from signing to inform validation steps before publish
uses: actions/upload-artifact@v4
with:
name: drop
path: ./**/build/*
- name: Publish Preview
run: ./gradlew --no-daemon $PREVIEW_TASK
working-directory: ./
# - name: Validate Staging Repository contents
# - name: Close Staging Repository



release-to-maven-central:
Expand Down

0 comments on commit ebab3d1

Please sign in to comment.