From 33315f25fe7f283926dd59ca6042ffa7a4d0369c Mon Sep 17 00:00:00 2001 From: spitkov Date: Sun, 5 Jan 2025 13:35:56 +0100 Subject: [PATCH] Initial commit: Basic repository structure with sample calc package --- .github/workflows/update-repo.yml | 65 +++++++++++++++++++++++++++++++ README.md | 47 ++++++++++++++++++++++ packages/calc/VERSION | 1 + packages/calc/install.sh | 5 +++ packages/calc/remove.sh | 5 +++ packages/calc/update.sh | 5 +++ repo.json | 11 ++++++ 7 files changed, 139 insertions(+) create mode 100644 .github/workflows/update-repo.yml create mode 100644 README.md create mode 100644 packages/calc/VERSION create mode 100644 packages/calc/install.sh create mode 100644 packages/calc/remove.sh create mode 100644 packages/calc/update.sh create mode 100644 repo.json diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml new file mode 100644 index 0000000..b9f7602 --- /dev/null +++ b/.github/workflows/update-repo.yml @@ -0,0 +1,65 @@ +name: Update Repository JSON + +on: + push: + branches: + - main + paths: + - 'packages/**' + +jobs: + update-repo-json: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Update repo.json + run: | + python - <