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:
Michael Lehmann
2025-08-29 17:11:06 -07:00
committed by kellertk
parent 2e3dfc44a9
commit 81dc407534
2 changed files with 12 additions and 13 deletions
-12
View File
@@ -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;
});