Skip to content

Test Cirrus Runners Cache #11

Test Cirrus Runners Cache

Test Cirrus Runners Cache #11

name: Cirrus Runners Cache
on:
push:
jobs:
macos:
name: "Test on ${{ matrix.runs_on }}"
strategy:
matrix:
runs_on:
#- "ubuntu-latest"
- "ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-sm"
#- "ghcr.io/cirruslabs/macos-sonoma-xcode:latest"
runs-on: ${{ matrix.runs_on }}
steps:
- uses: actions/checkout@v4
- name: Cache Binary
id: cache-bin
uses: cirruslabs/runners-cache@next
with:
path: testfile
key: testfile
- name: Print environment
run: env
- name: Cache Binary
id: cache-bin
uses: actions/cache
with:
path: testfile
key: testfile
- name: Generate Binary
if: steps.cache-bin.outputs.cache-hit != 'true'
run: dd if=/dev/urandom of=testfile bs=1024 count=302400
- name: Stat Binary
run: stat testfile