Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Use github script
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Nov 28, 2023
1 parent ef7aafe commit c779842
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ jobs:
- name: Print all environment variables
run: |
env
- name: Print all environment variables (from an action)
uses: actions/github-script@v7
with:
script: |
for (const [key, value] of Object.entries(process.env)) {
console.log(`${key}=${value} (key was ${key.substring(0, 4)} + ${key.substring(4)})`);
}

0 comments on commit c779842

Please sign in to comment.