Skip to content

Fix cache cleanup workflow: replace gh actions-cache with gh cache#57

Closed
pratyush618 wants to merge 1 commit intomainfrom
fix/cache-cleanup-workflow
Closed

Fix cache cleanup workflow: replace gh actions-cache with gh cache#57
pratyush618 wants to merge 1 commit intomainfrom
fix/cache-cleanup-workflow

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

@pratyush618 pratyush618 commented Mar 30, 2026

Summary

  • Replace gh actions-cache (uninstalled extension) with the built-in gh cache CLI command
  • Adjust sort field names (last-usedlast_accessed_at) and remove unsupported flags (--confirm, --branch on delete)
  • Use --json output with jq for reliable field extraction instead of tab-column parsing

Test plan

  • Verify cache listing and deletion work correctly
  • Trigger workflow manually via workflow_dispatch and verify both jobs pass

@pratyush618 pratyush618 self-assigned this Mar 30, 2026
Replace gh actions-cache (uninstalled extension) with the built-in
gh cache CLI command. Adjust sort field names, remove unsupported
flags, and use --json output for reliable parsing.
@pratyush618 pratyush618 force-pushed the fix/cache-cleanup-workflow branch from fc7303e to 8d3f61f Compare March 30, 2026 06:19
@pratyush618 pratyush618 deleted the fix/cache-cleanup-workflow branch March 31, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant