summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Pugin <egor.pugin@gmail.com>2020-03-13 23:44:15 +0300
committerEgor Pugin <egor.pugin@gmail.com>2020-03-13 23:44:15 +0300
commit6ecae1d4e10bdcf58c5f9ef36b1f3131532d9f34 (patch)
tree9dea11418f3a4b75eac775840b2796cf28aadc31 /.github/workflows
parentf1999e67d20e2a08923ee0add8f4ced02396db48 (diff)
[ci] Update.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/sw.yml20
1 files changed, 1 insertions, 19 deletions
diff --git a/.github/workflows/sw.yml b/.github/workflows/sw.yml
index be5d660..085796c 100644
--- a/.github/workflows/sw.yml
+++ b/.github/workflows/sw.yml
@@ -12,25 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- #- uses: egorpugin/sw-action@master
-
- - 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
run: ./sw build