Skip to content

Commit

Permalink
fix: ubuntu protoc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgattozzi committed Mar 11, 2024
1 parent 73620e7 commit 234ca36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ jobs:
run: |
cargo dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
echo "cargo dist ran successfully"
# Hack around the fact that cargo-dist can't let us choose the runner
# version yet. We need this for protoc, but it's set to 20.04 to link
# against an old glibc for compatibility
sed -i 's/ubuntu-20.04/ubuntu-latest/' plan-dist-manifest.json
cat plan-dist-manifest.json
echo "manifest=$(jq -c "." plan-dist-manifest.json)" >> "$GITHUB_OUTPUT"
- name: "Upload dist-manifest.json"
Expand Down

0 comments on commit 234ca36

Please sign in to comment.