changed to ubuntu 20.04 #4
Workflow file for this run
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: delete-old-versions-in-archive | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- .github/workflows/delete-old-versions-in-archive.yml | |
- .github/scripts/delete-old-cloudsmith-artifacts.sh | |
branches: | |
- master | |
push: | |
paths: | |
- .github/workflows/delete-old-versions-in-archive.yml | |
- .github/scripts/delete-old-cloudsmith-artifacts.sh | |
branches: | |
- master | |
- glebashink/gh-action-delete-old-versions-in-archive | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
delete-old-versions-in-archive: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install DNF | |
run: sudo apt-get install -y dnf dnf-plugins-core | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run cleanup script | |
run: sudo bash .github/scripts/delete-old-cloudsmith-artifacts.sh |