Skip to content

Commit

Permalink
[chore] Update Registry (#6)
Browse files Browse the repository at this point in the history
* fix signals

* add registry to release instead of commit

* fix
  • Loading branch information
warittornc authored Oct 7, 2024
1 parent bac20f0 commit 506fea5
Show file tree
Hide file tree
Showing 260 changed files with 1,734 additions and 11,016 deletions.
41 changes: 0 additions & 41 deletions .github/scripts/merge_all.py

This file was deleted.

9 changes: 2 additions & 7 deletions .github/workflows/aggregate_signals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pip install pyyaml
- name: Aggregate Signals
run: python .github/scripts/aggregate_signals.py ./signals ./registry
run: python .github/scripts/aggregate_signals.py ./signals .

- name: Cache Rust-Script
uses: actions/cache@v4
Expand All @@ -42,9 +42,4 @@ jobs:
run: sudo apt update && sudo apt-get install clang -y

- name: Validate Aggregated Signals
run: .github/scripts/validate.rs registry/registry.json

- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: aggregated signals
run: .github/scripts/validate.rs registry.json
19 changes: 17 additions & 2 deletions .github/workflows/upload_ipfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,24 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11.2'

- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Aggregate Signals
run: python .github/scripts/aggregate_signals.py ./signals ./output

- name: Upload to IPFS
id: upload
uses: aquiladev/[email protected]
with:
path: ./signals
path: ./output
service: pinata
pinata_api_key: ${{ secrets.PINATA_API_KEY }}
pinata_secret_api_key: ${{ secrets.PINATA_SECRET_API_KEY }}
Expand All @@ -26,4 +39,6 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: checksum.txt
files: |
checksum.txt
./output/registry.json
2 changes: 1 addition & 1 deletion registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -10717,4 +10717,4 @@
}
}
}
}
}
Loading

0 comments on commit 506fea5

Please sign in to comment.