mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
[ci] Update.
This commit is contained in:
parent
a6c8d4c692
commit
e1cf69fd9e
18
.github/workflows/sw.yml
vendored
18
.github/workflows/sw.yml
vendored
@ -11,23 +11,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Download SW
|
||||
shell: cmake -P {0}
|
||||
run: |
|
||||
if (WIN32)
|
||||
file(DOWNLOAD "https://software-network.org/client/sw-master-windows-client.zip" ./sw.zip)
|
||||
elseif (APPLE)
|
||||
file(DOWNLOAD "https://software-network.org/client/sw-master-macos-client.tar.gz" ./sw.zip)
|
||||
else()
|
||||
file(DOWNLOAD "https://software-network.org/client/sw-master-linux-client.tar.gz" ./sw.zip)
|
||||
endif()
|
||||
- name: Unpack SW
|
||||
run: cmake -E tar xvf sw.zip
|
||||
|
||||
- name: chmod
|
||||
run: chmod 755 sw
|
||||
shell: sh
|
||||
- uses: egorpugin/sw-action@master
|
||||
|
||||
- name: build
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
Loading…
Reference in New Issue
Block a user