Skip to content

Commit 6a71345

Browse files
committed
TMP: Bundle release for manual upload
1 parent 287a1a1 commit 6a71345

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/prerelease.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,21 @@ jobs:
122122
name: jazzer
123123
path: _tmp/
124124

125-
- name: Run Deployment
125+
- name: Generate Bundle
126126
env:
127127
RELEASE_SIGNING_KEY_ID: ${{ secrets.RELEASE_SIGNING_KEY_ID }}
128128
RELEASE_SIGNING_KEY_PRIVATE: ${{ secrets.RELEASE_SIGNING_KEY_PRIVATE }}
129129
MAVEN_USER: ${{ secrets.MAVEN_USER }}
130130
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
131131
run: JAZZER_JAR_PATH="$(pwd)/_tmp/jazzer.jar" bazel run deploy
132132

133+
- name: Upload Bundle
134+
uses: actions/upload-artifact@v4
135+
with:
136+
name: jazzer
137+
path: _tmp/release/
138+
if-no-files-found: error
139+
133140
create_release:
134141
needs: build_release
135142
runs-on: ubuntu-22.04

deploy/deploy.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ java=$(rlocation "$java_rlocationpath")
5757
"$java" -jar "${JAZZER_JAR_PATH}" --version 2>&1 | grep '^Jazzer v' || \
5858
fail "JAZZER_JAR_PATH is not a valid jazzer.jar"
5959

60-
MAVEN_REPO=https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2
60+
# MAVEN_REPO=https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2 # does not seem to work
61+
# Local release that should be manually uploaded to Sonatype OSSRH.
62+
MAVEN_REPO=file://`pwd`/_tmp/release
6163

6264
# The Jazzer jar itself bundles native libraries for multiple architectures and thus can't be built
6365
# on the local machine. It is obtained from CI and passed in via JAZZER_JAR_PATH.

0 commit comments

Comments
 (0)