Skip to content

Commit

Permalink
Merge pull request #268 from kinode-dao/hf/kinode-core-v0.10.0
Browse files Browse the repository at this point in the history
kinode core v0.10.0
  • Loading branch information
nick1udwig authored Dec 28, 2024
2 parents d15ab57 + 29ec8da commit 38bc61e
Show file tree
Hide file tree
Showing 92 changed files with 626 additions and 373 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,27 +77,26 @@ jobs:
- name: Unzip the build output
run: unzip /tmp/kit-release/kit-x86_64-unknown-linux-gnu.zip

#- name: Get latest release from kinode-dao/kit
# id: get-latest-kinode-release
# uses: actions/github-script@v6
# with:
# script: |
# const repo = {
# owner: 'kinode-dao',
# repo: 'kinode',
# };
# const release = await github.rest.repos.getLatestRelease(repo);
# const asset = release.data.assets.find(asset => asset.name.match(/kinode-x86_64-unknown-linux-gnu\.zip/));
# if (!asset) {
# throw new Error('Asset not found');
# }
# return asset.browser_download_url;
# result-encoding: string
- name: Get latest release from kinode-dao/kinode
id: get-latest-kinode-release
uses: actions/github-script@v6
with:
script: |
const repo = {
owner: 'kinode-dao',
repo: 'kinode',
};
const release = await github.rest.repos.getLatestRelease(repo);
const asset = release.data.assets.find(asset => asset.name.match(/kinode-x86_64-unknown-linux-gnu\.zip/));
if (!asset) {
throw new Error('Asset not found');
}
return asset.browser_download_url;
result-encoding: string
- name: Download the Kinode release
run: wget -q https://files.yael.solutions/240906/kinode-x86_64-unknown-linux-gnu-simulation-mode.zip -O kinode.zip
#run: wget -q ${DOWNLOAD_URL} -O kinode.zip
#env:
# DOWNLOAD_URL: ${{ steps.get-latest-kinode-release.outputs.result }}
run: wget -q ${DOWNLOAD_URL} -O kinode.zip
env:
DOWNLOAD_URL: ${{ steps.get-latest-kinode-release.outputs.result }}
- name: Unzip the Kinode release
run: unzip kinode.zip

Expand Down
Loading

0 comments on commit 38bc61e

Please sign in to comment.