mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
print home
This commit is contained in:
parent
e6a5ab6c58
commit
2a6a2e5875
2 changed files with 1 additions and 2 deletions
2
.github/workflows/verify-on-container.yml
vendored
2
.github/workflows/verify-on-container.yml
vendored
|
@ -17,8 +17,6 @@ jobs:
|
||||||
apt -y install openssh-client git
|
apt -y install openssh-client git
|
||||||
- name: Checkout source codes
|
- name: Checkout source codes
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: print HOME
|
|
||||||
run: echo ${HOME}
|
|
||||||
- name: Install SSH key
|
- name: Install SSH key
|
||||||
uses: ./.
|
uses: ./.
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -84,6 +84,7 @@ function getHomeDirectory(): string
|
||||||
throw Error(`${homeEnv} is not defined`);
|
throw Error(`${homeEnv} is not defined`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(`HOME directory: ${home}`);
|
||||||
if(home === "/github/home")
|
if(home === "/github/home")
|
||||||
{
|
{
|
||||||
// Docker container
|
// Docker container
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue