mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-01 05:45:06 +09: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:
committed by
kellertk
parent
2e3dfc44a9
commit
81dc407534
@@ -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