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

命中缓存关键词增加分支名 #15

Open
wants to merge 42 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5df381b
Update action.yml
w311ang Jul 27, 2022
245443e
Update fetch.js
w311ang Jul 27, 2022
242a1b5
Update fetch.js
w311ang Jul 27, 2022
b68d37c
Update save.js
w311ang Jul 27, 2022
e92a32a
Update action.yml
w311ang Jul 28, 2022
484619a
Update fetch.js
w311ang Jul 28, 2022
3f96cbf
Update save.js
w311ang Jul 28, 2022
f628fbc
Create test.yml
w311ang Jul 28, 2022
ff85b2c
Merge pull request #1 from w311ang/main
w311ang Jul 28, 2022
1590fe2
Update test.yml
w311ang Jul 28, 2022
8974380
Update action.yml
w311ang Jul 28, 2022
f0b168b
Update test.yml
w311ang Jul 28, 2022
d6f5f95
Update action.yml
w311ang Jul 28, 2022
573db51
Update action.yml
w311ang Jul 28, 2022
b06fb33
Update action.yml
w311ang Jul 28, 2022
fa9375d
Update test.yml
w311ang Jul 28, 2022
6f5f3e4
Update action.yml
w311ang Jul 28, 2022
318fb37
Update test.yml
w311ang Jul 28, 2022
f054d2e
Update fetch.js
w311ang Jul 28, 2022
55a826f
Update save.js
w311ang Jul 28, 2022
37e7f14
Update save.js
w311ang Jul 28, 2022
cb6aecf
Update fetch.js
w311ang Jul 28, 2022
2970457
Update save.js
w311ang Jul 28, 2022
a48f825
Update test.yml
w311ang Jul 28, 2022
6118940
Update action.yml
w311ang Jul 28, 2022
9bc74f6
Update fetch.js
w311ang Jul 28, 2022
6c82022
Update action.yml
w311ang Jul 28, 2022
1ac3441
Update fetch.js
w311ang Jul 28, 2022
c6b6b5c
Update action.yml
w311ang Jul 28, 2022
0a0bb1e
Update fetch.js
w311ang Jul 28, 2022
1ea302c
Update save.js
w311ang Jul 28, 2022
db813c9
Delete test.yml
w311ang Jul 28, 2022
3de9747
Create pull.yml
w311ang Jul 28, 2022
df77159
Update fetch.js
w311ang Jul 28, 2022
d9ec9b1
Update save.js
w311ang Jul 28, 2022
2a5d345
Delete pull.yml
w311ang Jul 28, 2022
3899f0f
Delete test.yml
w311ang Jul 28, 2022
3d4fd76
Merge pull request #2 from w311angg/patch-2
w311ang Jul 28, 2022
ac55c14
Update save.js
w311ang Jul 28, 2022
250fb5c
Delete pull.yml
w311ang Jul 28, 2022
ea35b02
Delete test.yml
w311ang Jul 28, 2022
dc1dc94
Merge pull request #3 from w311angg/patch-3
w311ang Jul 28, 2022
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
4 changes: 4 additions & 0 deletions fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ try {
process.chdir(prefix);
}

const branch = process.env.GITHUB_REF_NAME;
restoreKeys.unshift(keyString);
keyString = keyString+'-'+branch;

const toolchain = core.getInput('toolchain');
var skiptoolchain = core.getInput('skip');
if ( toolchain == 'true' ){
Expand Down
3 changes: 3 additions & 0 deletions save.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ try {
process.chdir(prefix);
}

const branch = process.env.GITHUB_REF_NAME;
keyString = keyString+'-'+branch;

const toolchain = core.getInput('toolchain');
if ( toolchain=='true' ){
stdout=execSync('git log --pretty=tformat:"%h" -n1 tools toolchain').toString().trim();
Expand Down