Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dobefore authored Nov 20, 2022
1 parent cdbd90c commit dfff793
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,17 +129,19 @@ jobs:
# clone and patch anki library
- name: Clone patch Anki
run: sh ./scripts/clone_patch_anki

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
run: |
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip
mkdir -p $HOME/protoc
unzip protoc-3.15.8-linux-x86_64.zip -d $HOME/protoc
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --features tls
run: |
export PATH="$PATH:$HOME/protoc/bin"
cargo build --release --features tls
- name: Strip binaries (ankisyncd)
run: strip target/release/ankisyncd
Expand Down

0 comments on commit dfff793

Please sign in to comment.