Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Add L flag to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
rk0cc committed Nov 1, 2021
1 parent 9f5ec95 commit f4d6b49
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v2.3.5
- name: Download library
uses: wei/wget@v1.1.1
with:
args: -O hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0-action/hson_linux_amd64.zip
run: curl -L -o hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0-action/hson_linux_amd64.zip
- name: Run unzip
uses: TonyBogdanov/zip@1.0
with:
args: unzip -q hson.zip
run: 7z x hson.zip
- name: Rename library and delete unused file
run: mv hson_linux_amd64.so hson.so && rm hson.zip && rm hson_linux_amd64.h
- name: Setup Dart
Expand All @@ -55,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v2.3.5
- name: Download library
run: C:\msys64\usr\bin\wget.exe -O hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0/hson_win_amd64.zip
run: C:\msys64\usr\bin\wget.exe -O hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0-action/hson_win_amd64.zip
- name: Run unzip
run: 7z x hson.zip
- name: Rename library and delete unused file
Expand All @@ -81,13 +77,9 @@ jobs:
steps:
- uses: actions/checkout@v2.3.5
- name: Download library
uses: wei/wget@v1.1.1
with:
args: -O hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0-action/hson_macos_amd64.zip
run: curl -L -o hson.zip https://github.com/rk0cc/hson/releases/download/1.0.0-action/hson_macos_amd64.zip
- name: Run unzip
uses: TonyBogdanov/zip@1.0
with:
args: unzip -q hson.zip
run: 7z x hson.zip
- name: Rename library and delete unused file
run: mv hson_macos_amd64.dylib hson.dylib && rm hson.zip && rm hson_macos_amd64.h
- name: Setup Dart
Expand Down

0 comments on commit f4d6b49

Please sign in to comment.