install smithy with sudo

This commit is contained in:
Tyr Chen 2023-11-26 21:30:42 -08:00
parent 0aa2231398
commit 40beb40d1e
No known key found for this signature in database
GPG Key ID: FA69377479FE142A
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ jobs:
mkdir -p /tmp/smithy
curl -L https://github.com/smithy-lang/smithy/releases/download/1.41.1/smithy-cli-linux-x86_64.tar.gz -o /tmp/smithy-cli-linux.tar.gz
tar xvzf /tmp/smithy-cli-linux.tar.gz -C /tmp/smithy
/tmp/smithy/install
sudo /tmp/smithy/install
- name: build smithy plugins
run: |
cd $GITHUB_WORKSPACE/rust && ./gradlew publishToMavenLocal