(feat) add instance and shard status endpoints (with service methods)… #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update packages cache | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/update-packages.yml" | |
- "gradle/libs.versions.toml" | |
jobs: | |
update-packages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tools repository | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.repository_owner }}/jwizard-tools | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Grand permissions | |
run: chmod +x exec/run-with-config | |
- name: Run packages grabber | |
run: exec/run-with-config packages_grabber \ | |
"${{ secrets.CONFIG_FILE_CONTENT }}" \ | |
--repo ${{ github.repository }} |