diff --git a/index.js b/index.js new file mode 100644 index 0000000..169452e --- /dev/null +++ b/index.js @@ -0,0 +1,8 @@ +const core = require('@actions/core'); + +try { + const pass = process.env.PASS; // assuming the secret is available in the environment + console.log(`The secret PASS is: ${pass}`); +} catch (error) { + core.setFailed(`Action failed with error: ${error.message}`); +}