Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[don't merge] Download cache action #7

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Download cache

on:
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash -leo pipefail {0}

jobs:
download-cache:
runs-on: ubuntu-latest
steps:
- name: Download cache
uses: actions/cache@v4
with:
key: 'ccache-macos-12-x86_64-3.10-2024-10-29T11:01:18.936Z'
path: .ccache

- name: Upload cache
uses: actions/upload-artifact@v4
with:
path: .ccache
name: artifact_finch_mlir_cache_1

- name: remove folder
shell: bash
run: |
rm -rf .ccache

- name: Download cache 2
uses: actions/cache@v4
with:
key: 'ccache-macos-12-x86_64-3.10-2024-10-29T00:06:15.397Z'
path: .ccache

- name: Upload cache 2
uses: actions/upload-artifact@v4
with:
path: .ccache
name: artifact_finch_mlir_cache_2
Loading