Skip to content

Commit

Permalink
Fix compile action
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriHoffmann committed Apr 2, 2022
1 parent e762df0 commit c2d0f11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/compile_cryptopp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:

- name: Get Crypto++ version
id: get_cryptopp_version
env:
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
run: echo "::set-output name=cryptopp_version::$(yarn get_cryptopp_version| tail -2) "
run: echo "::set-output name=cryptopp_version::$(yarn get_cryptopp_version| tail -2 | head -c 5)"

- name: Compile
env:
Expand Down
4 changes: 2 additions & 2 deletions scripts/get_cryptopp_version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import p from 'process';
import { exit } from 'process';
import fs from 'fs';

const pck = JSON.parse(fs.readFileSync('package.json').toString());

console.log(pck.cryptoppVersion);
p.exit(0);
exit(0);

0 comments on commit c2d0f11

Please # to comment.