Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rin204 committed Nov 14, 2023
1 parent 564d74c commit 8eaee17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: verify

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
Expand All @@ -23,8 +24,10 @@ jobs:

- name: Copy dependencies
run: |
rm -rf /opt/hostedtoolcache/Python/3.11/x64/lib/python3.11/site-packages/onlinejudge_verify
cp -r ./.github/oj-verify /opt/hostedtoolcache/Python/3.11/x64/lib/python3.11/site-packages/onlinejudge_verify
MINOR_VERSION=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
echo $MINOR_VERSION
rm -rf /opt/hostedtoolcache/Python/$MINOR_VERSION/x64/lib/python$MINOR_VERSION/site-packages/onlinejudge_verify
cp -r ./.github/oj-verify /opt/hostedtoolcache/Python/$MINOR_VERSION/x64/lib/python3.11/site-packages/onlinejudge_verify
sleep 5
- name: create docs
Expand Down

0 comments on commit 8eaee17

Please sign in to comment.