File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -195,16 +195,6 @@ runs:
195195 with :
196196 version : ${{ inputs.cli }}
197197
198- - name : Download binaries
199- if : steps.platform.outputs.target_id == 'ios'
200- uses : robinraju/release-downloader@v1
201- with :
202- repository : geode-catgirls/geode
203- tag : nightly
204- filename : geode-*-ios.zip
205- out-file-path : ${{ github.workspace }}/nightly-bin
206- extract : true
207-
208198 - name : Setup Geode SDK
209199 shell : bash
210200 run : |
@@ -221,8 +211,12 @@ runs:
221211 echo "cloning diff geode"
222212 git clone https://github.com/geode-catgirls/geode -b nightly "${{ github.workspace }}/geode-sdk-clone"
223213 mkdir -p "${{ github.workspace }}/geode-sdk-clone/bin"
224- ls "${{ github.workspace }}/nightly-bin"
225- mv "${{ github.workspace }}/nightly-bin" "${{ github.workspace }}/geode-sdk-clone/bin/nightly"
214+ # dl nightly release binaries
215+ releases=$(curl -s https://api.github.com/repos/geode-catgirls/geode/releases)
216+ dl_url=$(echo "$releases" | jq '.[] | select(.tag_name=="nightly").assets[] | select(.name|endswith("-ios.zip")).browser_download_url' -r)
217+ echo "nightly dl url: $dl_url"
218+ curl -L "$dl_url" -o "geode-ios.zip"
219+ unzip "geode-ios.zip" -d "${{ github.workspace }}/geode-sdk-clone/bin/nightly"
226220 fi
227221
228222 # silly github actions wont refresh the env
You can’t perform that action at this time.
0 commit comments