name: Package tools on: schedule: - cron: '43 5 * * *' workflow_dispatch: jobs: refresh: name: The box's updated package tools, tried on the apt and rpm repositories runs-on: nuvola steps: - uses: actions/checkout@v4 - name: Check that the box brought the tools up to date this morning run: | systemctl show packages-tools -p Result -p ExecMainExitTimestamp systemctl is-active --quiet packages-tools.timer test "$(systemctl show packages-tools -p Result --value)" = success - name: Rebuild the apt and rpm repositories on packages.arasaka.software when the tools changed env: PACKAGES_SIGNING_KEY: ${{ secrets.PACKAGES_SIGNING_KEY }} run: .gitea/scripts/packages.sh