Skip to content

Commit 062a2fe

Browse files
author
S Padma
committed
new
1 parent 8835a0d commit 062a2fe

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

.github/workflows/e2e-test-stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- check
7+
- check1
88

99
jobs:
1010
e2e-test:

.github/workflows/expired.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Plant Expired Token Cache (TEST)
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
plant-expired-cache:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Get cache date
11+
id: date
12+
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
13+
14+
- name: Create expired token cache file
15+
run: |
16+
echo "Creating expired token cache..."
17+
echo '{
18+
"access_token": "expired_test_token_12345",
19+
"expires_at": 1000000000000
20+
}' > .ims-token-dev-cache.json
21+
cat .ims-token-dev-cache.json
22+
23+
- name: Save expired cache
24+
uses: actions/cache/save@v4
25+
with:
26+
path: .ims-token-dev-cache.json
27+
key: ims-token-dev-${{ steps.date.outputs.date }}
28+

0 commit comments

Comments
 (0)