mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-29 03:15:39 +01:00
chore: make script inline (#1460)
* add pre-release integ tests * chore: remove unnecessary sudo and reorganize test files * chore: inline write token file
This commit is contained in:
1 parent
cb3b499674
commit
45a41642bb
2 files changed
+12
-13
No files matched your search
@@ -1,12 +0,0 @@
|
||||
import core from "@actions/core";
|
||||
import fs from "fs/promises";
|
||||
|
||||
async function getIDTokenAction() {
|
||||
const id_token = await core.getIDToken("sts.amazonaws.com");
|
||||
return id_token;
|
||||
}
|
||||
let idToken = await getIDTokenAction();
|
||||
|
||||
await fs.writeFile(".github/integ_tests/integ_token.txt", idToken, (err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
Reference in new issue
Block a user