Skip to content

Commit

Permalink
modify workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin9936 authored and zfliex924 committed Mar 29, 2024
1 parent 3c48d6a commit 98e2f59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ jobs:
run: |
npm install
npm install -g ganache
- name: modify openssl.cnf
run: |
sudo chmod -R 777 /usr/lib/ssl/openssl.cnf
sudo sed -i 's/^#openssl_conf = openssl_init/openssl_conf = openssl_init/' /usr/lib/ssl/openssl.cnf
sudo sed -i '/^\[provider_sect\]$/,/^\[/ s/^default = default_sect$/&\nlegacy = legacy_sect/' /usr/lib/ssl/openssl.cnf
sudo sed -i 's/^# activate = 1/activate = 1/' /usr/lib/ssl/openssl.cnf
sudo echo -e "\n[legacy_sect]\nactivate = 1" >> /usr/lib/ssl/openssl.cnf
- name: Run tests
run: |
Expand Down

0 comments on commit 98e2f59

Please sign in to comment.