Skip to content

Commit

Permalink
Create index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shovon0203 authored Jun 6, 2024
1 parent 7d93204 commit 2c2f41e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -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}`);
}

0 comments on commit 2c2f41e

Please sign in to comment.