# Example only: not installed or enabled. Use a private GitHub repository. name: Private source backup on: workflow_dispatch: schedule: - cron: '15 18 * * *' # UTC 18:15 = Taiwan next day 02:15 permissions: contents: read jobs: backup: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Make verified source archive run: bash dist/addons/backup-source-v99.sh "$GITHUB_WORKSPACE" "$RUNNER_TEMP/tlfca-backups" - uses: actions/upload-artifact@v4 with: name: source-${{ github.run_id }} path: ${{ runner.temp }}/tlfca-backups/* retention-days: 30 if-no-files-found: error