Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gldeng authored Apr 16, 2024
1 parent 4e85785 commit e052965
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6' # Change this to the .NET version you're using

- name: Install protoc
run: |
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-linux-x86_64.zip
unzip protoc-3.11.4-linux-x86_64.zip -d protoc3
sudo mv protoc3/bin/* /usr/local/bin/
sudo mv protoc3/include/* /usr/local/include/
- name: Install contract_plugin binary
run: |
bash scripts/download_binary.sh
- name: Read version from version.props
run: |
version=$(grep -oP '<Version>\K[^<]+' common.props)
Expand Down

0 comments on commit e052965

Please sign in to comment.