mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
582 B
YAML
26 lines
582 B
YAML
name: Remove old artifacts
|
|
|
|
on:
|
|
schedule:
|
|
# Every day at 1am
|
|
- cron: "0 1 * * *"
|
|
|
|
jobs:
|
|
remove-old-artifacts:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
- name: setup python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: 3.8
|
|
- name: Remove old artifacts
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install urllib3 requests
|
|
cd .github/workflows
|
|
python delete_artifacts.py ${{ secrets.GITHUB_TOKEN }}
|