Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Panda committed Dec 27, 2023
1 parent 605a414 commit 54ebde3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ jobs:
mkdir third_party;
Invoke-WebRequest -Uri https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-win64.zip -OutFile ./third_party/protoc-25.1-win64.zip;
Expand-Archive -Path ./third_party/protoc-25.1-win64.zip -DestinationPath ./third_party;
$currentDirectory = $PWD.Path;
$env:PATH += ";$currentDirectory/third_party/bin";
echo "PATH=$env:PATH" >> $GITHUB_ENV;
-
name: Build release (Linux)
if: runner.os == 'Linux' && matrix.arch == 'x86_64'
Expand All @@ -62,7 +59,8 @@ jobs:
name: Build release (Windows)
if: runner.os == 'Windows' && matrix.arch == 'x86_64'
run: |
$env:PATH = ${{env.PATH}};
$currentDirectory = $PWD.Path;
$env:PATH += ";$currentDirectory/third_party/bin";
cargo build --release;
-
name: Rename release (Linux)
Expand Down

0 comments on commit 54ebde3

Please sign in to comment.