Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a697757fb | ||
|
|
0e7c371e56 |
18
.github/workflows/canary.yaml
vendored
18
.github/workflows/canary.yaml
vendored
@@ -56,12 +56,12 @@ jobs:
|
|||||||
cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key")
|
cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key")
|
||||||
echo $cache_delete
|
echo $cache_delete
|
||||||
[[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful"
|
[[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful"
|
||||||
- name: Slack Notification on failure
|
# - name: Slack Notification on failure
|
||||||
if: failure()
|
# if: failure()
|
||||||
uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af
|
# uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af
|
||||||
with:
|
# with:
|
||||||
text: actions/gh-actions-cache canary failure
|
# text: actions/gh-actions-cache canary failure
|
||||||
status: ${{ job.status }}
|
# status: ${{ job.status }}
|
||||||
fields: repo,workflow,message,author,action,ref
|
# fields: repo,workflow,message,author,action,ref
|
||||||
env:
|
# env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
|||||||
18
.github/workflows/e2e_test.yml
vendored
18
.github/workflows/e2e_test.yml
vendored
@@ -75,12 +75,12 @@ jobs:
|
|||||||
cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key")
|
cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key")
|
||||||
echo $cache_delete
|
echo $cache_delete
|
||||||
[[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful"
|
[[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful"
|
||||||
- name: Slack Notification on failure
|
# - name: Slack Notification on failure
|
||||||
if: failure()
|
# if: failure()
|
||||||
uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af
|
# uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af
|
||||||
with:
|
# with:
|
||||||
text: actions/gh-actions-cache E2E test failure
|
# text: actions/gh-actions-cache E2E test failure
|
||||||
status: ${{ job.status }}
|
# status: ${{ job.status }}
|
||||||
fields: repo,workflow,message,author,action,ref
|
# fields: repo,workflow,message,author,action,ref
|
||||||
env:
|
# env:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
> [!IMPORTANT]
|
||||||
|
> This functionality has been integrated directly into the `gh` CLI
|
||||||
|
>
|
||||||
|
> https://cli.github.com/manual/gh_cache
|
||||||
|
>
|
||||||
|
> This extension should be removed and replaced with usage of `gh cache` directly
|
||||||
|
>
|
||||||
|
> `gh extension remove actions-cache`
|
||||||
|
|
||||||
# gh-actions-cache
|
# gh-actions-cache
|
||||||
|
|
||||||
✨ A GitHub (`gh`) [CLI](https://cli.github.com/) extension to manage the GitHub Actions [caches](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows) being used in a GitHub repository.
|
✨ A GitHub (`gh`) [CLI](https://cli.github.com/) extension to manage the GitHub Actions [caches](https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows) being used in a GitHub repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user