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

wip: DO NOT MERGE test: download previous zig version for aarch64 #2128

Closed
wants to merge 1 commit into from
Closed
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
28 changes: 28 additions & 0 deletions .github/workflows/move-zig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Cache and Upload Zig on PR

on:
pull_request:
branches:
- '**' # This runs the action on any branch for a PR

jobs:
cache-and-upload:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Cache Zig binary from cache (if available)
- name: Cache Zig
uses: actions/cache@v3
with:
path: ./zig # Path where cache will be restored to
key: zig-Linux-ARM64-0.14.0-dev.1632+d83a3f174 # Cache key to download

# Step 3: Upload the cached Zig binary as an artifact
- name: Upload Zig Artifact
uses: actions/upload-artifact@v3
with:
name: zig-Linux-ARM64 # Artifact name
path: ./zig # Path to the folder containing the cached zig binary
Loading