Skip to content

Commit

Permalink
fixing auto-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
FerrumBrain committed Feb 3, 2025
1 parent c681edc commit 5354203
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

environment:
name: Deploy
Expand All @@ -27,14 +27,14 @@ jobs:
run: |
echo "build --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }}" >> .bazelrc
echo "build --config=ci" >> .bazelrc
echo "build --//deploy:jazzer_version=0.0.0-dev" >> .bazelrc
echo "build --//deploy:jazzer_version=0.0.0-SNAPSHOT" >> .bazelrc
- name: Build Jazzer
shell: bash
run: |
bazelisk build deploy:jazzer
- name: Download merged jar (if needed)
- name: Download merged jar
uses: actions/download-artifact@v4
with:
name: jazzer
Expand All @@ -46,4 +46,4 @@ jobs:
RELEASE_SIGNING_KEY_PRIVATE: ${{ secrets.RELEASE_SIGNING_KEY_PRIVATE }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: JAZZER_JAR_PATH="$(bazel cquery --output=files deploy:jazzer)" bazel run deploy
run: JAZZER_JAR_PATH="$(pwd)/_tmp/jazzer.jar" bazel run deploy

0 comments on commit 5354203

Please sign in to comment.