name: CI on: push: branches: - main paths: - 'action.yml' - 'handle_caches.jl' - '.github/**' pull_request: paths: - 'action.yml' - 'handle_caches.jl' - '.github/**' # needed to allow julia-actions/cache to delete old caches that it has created permissions: actions: write contents: read jobs: generate-key: runs-on: ubuntu-latest outputs: cache-name: ${{ steps.name.outputs.cache-name }} steps: - name: Generate random cache-name id: name run: | cache_name=$(head -n 100